From ab8812a665a703faf07669b1dc3ed9e6118a41d0 Mon Sep 17 00:00:00 2001 From: John Palmer Date: Fri, 21 May 2021 17:03:43 +0000 Subject: [PATCH] [COIL] Change chromium code search type links to use main rather than master for tools See this doc: go/chromium-coil-change for more info BUG=1210385 Change-Id: I8fdcbf7d7607ac75f4a84d1d697eedede92e6b6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2902346 Auto-Submit: John Palmer Reviewed-by: Dirk Pranke Reviewed-by: Jesse Doherty Commit-Queue: Jesse Doherty Cr-Commit-Position: refs/heads/master@{#885533} --- tools/DIR_METADATA | 4 ++-- tools/accessibility/DIR_METADATA | 4 ++-- tools/android/adb_remote_setup.sh | 2 +- .../android_studio/ChromiumInspections.xml | 2 +- tools/android/dependency_analysis/DIR_METADATA | 4 ++-- tools/android/dependency_analysis/README.md | 2 +- tools/android/forwarder2/DIR_METADATA | 4 ++-- tools/binary_size/DIR_METADATA | 4 ++-- tools/binary_size/diagnose_bloat.py | 2 +- .../binary_size/libsupersize/static/viewer.html | 2 +- tools/binary_size/trybot_commit_size_checker.py | 2 +- tools/chrome_extensions/open_my_editor/README.md | 2 +- tools/clang/DIR_METADATA | 4 ++-- tools/clang/blink_gc_plugin/DIR_METADATA | 4 ++-- tools/clang/plugins/README.chromium | 4 ++-- .../tests/gen-in-out-arg-test.cc | 2 +- tools/clang/stack_maps/DIR_METADATA | 4 ++-- .../translation_unit/test_translation_unit.py | 2 +- tools/code_coverage/DIR_METADATA | 4 ++-- tools/code_coverage/coverage.py | 4 ++-- tools/cr/DIR_METADATA | 4 ++-- tools/cros/DIR_METADATA | 4 ++-- tools/emacs/gn.el | 2 +- tools/fuchsia/DIR_METADATA | 4 ++-- tools/idl_parser/DIR_METADATA | 4 ++-- tools/infra/DIR_METADATA | 4 ++-- tools/ipc_fuzzer/DIR_METADATA | 4 ++-- tools/json_schema_compiler/DIR_METADATA | 4 ++-- .../json_schema_compiler/js_externs_generator.py | 2 +- .../js_externs_generator_test.py | 6 +++--- tools/lldb/DIR_METADATA | 4 ++-- tools/luci-go/DIR_METADATA | 4 ++-- tools/luci-go/README.md | 2 +- tools/mb/DIR_METADATA | 4 ++-- tools/mb/docs/user_guide.md | 2 +- tools/md_browser/footer.html | 2 +- tools/media_engagement_preload/DIR_METADATA | 4 ++-- tools/memory_inspector/DIR_METADATA | 4 ++-- tools/metrics/DIR_METADATA | 4 ++-- tools/metrics/common/models.py | 2 +- tools/metrics/histograms/enums.xml | 16 ++++++++-------- .../data_reduction_proxy/DIR_METADATA | 4 ++-- .../histograms_xml/optimization/DIR_METADATA | 4 ++-- .../histograms_xml/prefetch/DIR_METADATA | 4 ++-- .../histograms_xml/translate/DIR_METADATA | 4 ++-- tools/metrics/histograms/merge_xml.py | 2 +- tools/metrics/histograms/review_guidelines.md | 2 +- tools/metrics/ukm/ukm.xml | 2 +- tools/metrics/ukm/xml_validations.py | 2 +- .../third_party/ed25519/DIR_METADATA | 4 ++-- tools/perf/DIR_METADATA | 4 ++-- tools/perf/README.md | 2 +- tools/perf/contrib/vr_benchmarks/DIR_METADATA | 4 ++-- .../core/perfetto_binary_roller/DIR_METADATA | 4 ++-- tools/perf/core/results_processor/README.md | 4 ++-- .../results_processor/formatters/json3_output.py | 2 +- tools/perf/expectations.config | 2 +- .../blink_apis/proto/blink_apis.proto | 12 ++++++------ tools/security/DIR_METADATA | 4 ++-- tools/usb_gadget/DIR_METADATA | 4 ++-- tools/v8_context_snapshot/DIR_METADATA | 4 ++-- tools/variations/DIR_METADATA | 4 ++-- tools/vim/DIR_METADATA | 4 ++-- tools/web_bluetooth/DIR_METADATA | 4 ++-- tools/web_dev_style/css_checker.py | 2 +- tools/web_dev_style/html_checker.py | 2 +- tools/web_dev_style/js_checker.py | 4 ++-- tools/web_dev_style/resource_checker.py | 2 +- 68 files changed, 122 insertions(+), 122 deletions(-) diff --git a/tools/DIR_METADATA b/tools/DIR_METADATA index b333c5cc43b366..e21e0c20e71240 100644 --- a/tools/DIR_METADATA +++ b/tools/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto # These aren't actually great contact points for this directory, but # changes in this directory are rare and most changes happen in better-owned diff --git a/tools/accessibility/DIR_METADATA b/tools/accessibility/DIR_METADATA index 35eb41cc533e35..8dd4f6f73cae97 100644 --- a/tools/accessibility/DIR_METADATA +++ b/tools/accessibility/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Internals>Accessibility" diff --git a/tools/android/adb_remote_setup.sh b/tools/android/adb_remote_setup.sh index 030f023fd532bb..cdbe7e785c9089 100755 --- a/tools/android/adb_remote_setup.sh +++ b/tools/android/adb_remote_setup.sh @@ -7,7 +7,7 @@ # Gitiles returns the result as base64 formatted, so the result needs to be # decoded. See https://code.google.com/p/gitiles/issues/detail?id=7 for # more information about this security precaution. -script_url="https://chromium.googlesource.com/chromium/src.git/+/master" +script_url="https://chromium.googlesource.com/chromium/src.git/+/main" script_url+="/tools/android/adb_remote_setup.sh" script_url+="?format=TEXT" diff --git a/tools/android/android_studio/ChromiumInspections.xml b/tools/android/android_studio/ChromiumInspections.xml index efd75ca3f8b7ec..1fbb2cda51dcf0 100644 --- a/tools/android/android_studio/ChromiumInspections.xml +++ b/tools/android/android_studio/ChromiumInspections.xml @@ -1,6 +1,6 @@ diff --git a/tools/android/dependency_analysis/DIR_METADATA b/tools/android/dependency_analysis/DIR_METADATA index a4cad502448185..f5b34d813b7ac0 100644 --- a/tools/android/dependency_analysis/DIR_METADATA +++ b/tools/android/dependency_analysis/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Infra>CodeAnalysis" diff --git a/tools/android/dependency_analysis/README.md b/tools/android/dependency_analysis/README.md index 34997a7214a02e..b3d38a59831420 100644 --- a/tools/android/dependency_analysis/README.md +++ b/tools/android/dependency_analysis/README.md @@ -63,7 +63,7 @@ tools/android/dependency_analysis/count_cycles.py -h ## Example Usage This Linux example assumes Chromium is contained in a directory `~/cr` and that Chromium has been built as per the instructions -[here](https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md), +[here](https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md), although the only things these assumptions affect are the file paths. ``` $ tools/android/dependency_analysis/generate_json_dependency_graph.py -C out/Debug -o ~/graph.json diff --git a/tools/android/forwarder2/DIR_METADATA b/tools/android/forwarder2/DIR_METADATA index 6cffdc204e49b9..35183ba459beac 100644 --- a/tools/android/forwarder2/DIR_METADATA +++ b/tools/android/forwarder2/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Infra>Client>Chrome" diff --git a/tools/binary_size/DIR_METADATA b/tools/binary_size/DIR_METADATA index fceb01b1ee65ee..03fa4c236eae7c 100644 --- a/tools/binary_size/DIR_METADATA +++ b/tools/binary_size/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Tools" diff --git a/tools/binary_size/diagnose_bloat.py b/tools/binary_size/diagnose_bloat.py index 9c510d24a638c4..d4512489fabd8b 100755 --- a/tools/binary_size/diagnose_bloat.py +++ b/tools/binary_size/diagnose_bloat.py @@ -156,7 +156,7 @@ def Summary(self): footer_lines = [ '', 'For an explanation of these metrics, see:', - ('https://chromium.googlesource.com/chromium/src/+/master/docs/speed/' + ('https://chromium.googlesource.com/chromium/src/+/main/docs/speed/' 'binary_size/metrics.md#Metrics-for-Android')] return self._ResultLines( include_sections=ResourceSizesDiff._SUMMARY_SECTIONS) + footer_lines diff --git a/tools/binary_size/libsupersize/static/viewer.html b/tools/binary_size/libsupersize/static/viewer.html index 6ebb3a39f1f1ea..c10c386d53a3ee 100644 --- a/tools/binary_size/libsupersize/static/viewer.html +++ b/tools/binary_size/libsupersize/static/viewer.html @@ -51,7 +51,7 @@

Super Size Tiger View

Upload data - MemoryAllocator>GarbageCollection" diff --git a/tools/clang/plugins/README.chromium b/tools/clang/plugins/README.chromium index 1c6f0c01592156..c2ca0192dc03d6 100644 --- a/tools/clang/plugins/README.chromium +++ b/tools/clang/plugins/README.chromium @@ -1,4 +1,4 @@ Documentation for this code is: -- https://chromium.googlesource.com/chromium/src/+/master/docs/clang.md -- https://chromium.googlesource.com/chromium/src/+/master/docs/writing_clang_plugins.md +- https://chromium.googlesource.com/chromium/src/+/main/docs/clang.md +- https://chromium.googlesource.com/chromium/src/+/main/docs/writing_clang_plugins.md diff --git a/tools/clang/rewrite_raw_ptr_fields/tests/gen-in-out-arg-test.cc b/tools/clang/rewrite_raw_ptr_fields/tests/gen-in-out-arg-test.cc index a59ab69a9348fc..47287deaf9c172 100644 --- a/tools/clang/rewrite_raw_ptr_fields/tests/gen-in-out-arg-test.cc +++ b/tools/clang/rewrite_raw_ptr_fields/tests/gen-in-out-arg-test.cc @@ -41,7 +41,7 @@ void GetViaPtr(SomeClass** out_ptr) { // Based on a real-world example (Blink uses references more often than the rest // of Chromium): -// https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/layout/layout_table.cc;drc=a3524fd6d1a4f4ff7e97893f6c6375dd1684e132;l=130 +// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/layout/layout_table.cc;drc=a3524fd6d1a4f4ff7e97893f6c6375dd1684e132;l=130 void GetViaRef(SomeClass*& out_ptr) { out_ptr = nullptr; } diff --git a/tools/clang/stack_maps/DIR_METADATA b/tools/clang/stack_maps/DIR_METADATA index c0120ff3cd699b..3d8b00fbbd6c1b 100644 --- a/tools/clang/stack_maps/DIR_METADATA +++ b/tools/clang/stack_maps/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Blink>JavaScript>GC" diff --git a/tools/clang/translation_unit/test_translation_unit.py b/tools/clang/translation_unit/test_translation_unit.py index 92d7be81ca08b3..6c0e289b291555 100755 --- a/tools/clang/translation_unit/test_translation_unit.py +++ b/tools/clang/translation_unit/test_translation_unit.py @@ -30,7 +30,7 @@ def _NumberOfTestsToString(tests): # Before running this test script, please build the translation_unit clang tool # first. This is explained here: -# https://chromium.googlesource.com/chromium/src/+/master/docs/clang_tool_refactoring.md +# https://chromium.googlesource.com/chromium/src/+/main/docs/clang_tool_refactoring.md def main(): tools_clang_directory = os.path.dirname(os.path.dirname( os.path.realpath(__file__))) diff --git a/tools/code_coverage/DIR_METADATA b/tools/code_coverage/DIR_METADATA index 85a42e039ca88c..62e668b8042fcc 100644 --- a/tools/code_coverage/DIR_METADATA +++ b/tools/code_coverage/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Infra>Test>CodeCoverage" diff --git a/tools/code_coverage/coverage.py b/tools/code_coverage/coverage.py index 139fbf093ad1ac..6149485e0187f9 100755 --- a/tools/code_coverage/coverage.py +++ b/tools/code_coverage/coverage.py @@ -49,7 +49,7 @@ - directory containing samples files for this format. To learn more about generating code coverage reports for fuzz targets, see - https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/efficient_fuzzer.md#Code-Coverage + https://chromium.googlesource.com/chromium/src/+/main/testing/libfuzzer/efficient_fuzzer.md#Code-Coverage * Sample workflow for running Blink web tests: @@ -62,7 +62,7 @@ For more options, please refer to tools/code_coverage/coverage.py -h. For an overview of how code coverage works in Chromium, please refer to - https://chromium.googlesource.com/chromium/src/+/master/docs/testing/code_coverage.md + https://chromium.googlesource.com/chromium/src/+/main/docs/testing/code_coverage.md """ from __future__ import print_function diff --git a/tools/cr/DIR_METADATA b/tools/cr/DIR_METADATA index fceb01b1ee65ee..03fa4c236eae7c 100644 --- a/tools/cr/DIR_METADATA +++ b/tools/cr/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Tools" diff --git a/tools/cros/DIR_METADATA b/tools/cros/DIR_METADATA index a761f765271367..148729f28cb67c 100644 --- a/tools/cros/DIR_METADATA +++ b/tools/cros/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Test>Telemetry" diff --git a/tools/emacs/gn.el b/tools/emacs/gn.el index af6c9f1c82d43f..3f2fb2a4e39387 100644 --- a/tools/emacs/gn.el +++ b/tools/emacs/gn.el @@ -17,7 +17,7 @@ ;; A major mode for editing GN files. GN stands for Generate Ninja. GN is the ;; meta build system used in Chromium. For more information on GN, see the GN -;; manual: +;; manual: ;;; To Do: diff --git a/tools/fuchsia/DIR_METADATA b/tools/fuchsia/DIR_METADATA index de0c11f0bd6d60..11f5ec90ebbade 100644 --- a/tools/fuchsia/DIR_METADATA +++ b/tools/fuchsia/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Fuchsia" diff --git a/tools/idl_parser/DIR_METADATA b/tools/idl_parser/DIR_METADATA index a50f14ccf66374..4afdacd89e756e 100644 --- a/tools/idl_parser/DIR_METADATA +++ b/tools/idl_parser/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Blink>Bindings" diff --git a/tools/infra/DIR_METADATA b/tools/infra/DIR_METADATA index d2d9af5936bf52..c9e376bb5e5601 100644 --- a/tools/infra/DIR_METADATA +++ b/tools/infra/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Infra>Client>Chrome" diff --git a/tools/ipc_fuzzer/DIR_METADATA b/tools/ipc_fuzzer/DIR_METADATA index df7519361e5b79..2e39c9c4f2021b 100644 --- a/tools/ipc_fuzzer/DIR_METADATA +++ b/tools/ipc_fuzzer/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Tools>Stability>Libfuzzer" diff --git a/tools/json_schema_compiler/DIR_METADATA b/tools/json_schema_compiler/DIR_METADATA index cca1c27f95ba90..be5a600e876b5e 100644 --- a/tools/json_schema_compiler/DIR_METADATA +++ b/tools/json_schema_compiler/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Platform>Extensions" diff --git a/tools/json_schema_compiler/js_externs_generator.py b/tools/json_schema_compiler/js_externs_generator.py index 6fc66477536c6b..36ff67c91efe57 100644 --- a/tools/json_schema_compiler/js_externs_generator.py +++ b/tools/json_schema_compiler/js_externs_generator.py @@ -20,7 +20,7 @@ NOTE = """// NOTE: The format of types has changed. 'FooType' is now // 'chrome.%s.FooType'. // Please run the closure compiler before committing changes. -// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md +// See https://chromium.googlesource.com/chromium/src/+/main/docs/closure_compilation.md """ class JsExternsGenerator(object): diff --git a/tools/json_schema_compiler/js_externs_generator_test.py b/tools/json_schema_compiler/js_externs_generator_test.py index 612650d03baba5..f7f46974ccc0f5 100755 --- a/tools/json_schema_compiler/js_externs_generator_test.py +++ b/tools/json_schema_compiler/js_externs_generator_test.py @@ -124,7 +124,7 @@ // NOTE: The format of types has changed. 'FooType' is now // 'chrome.fakeApi.FooType'. // Please run the closure compiler before committing changes. -// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md +// See https://chromium.googlesource.com/chromium/src/+/main/docs/closure_compilation.md /** @fileoverview Externs generated from namespace: fakeApi */ @@ -323,7 +323,7 @@ // NOTE: The format of types has changed. 'FooType' is now // 'chrome.fakeApiPrivate.FooType'. // Please run the closure compiler before committing changes. -// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md +// See https://chromium.googlesource.com/chromium/src/+/main/docs/closure_compilation.md /** @fileoverview Externs generated from namespace: fakeApiPrivate */ @@ -471,7 +471,7 @@ // NOTE: The format of types has changed. 'FooType' is now // 'chrome.fakeJson.FooType'. // Please run the closure compiler before committing changes. -// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md +// See https://chromium.googlesource.com/chromium/src/+/main/docs/closure_compilation.md /** @fileoverview Externs generated from namespace: fakeJson */ diff --git a/tools/lldb/DIR_METADATA b/tools/lldb/DIR_METADATA index fceb01b1ee65ee..03fa4c236eae7c 100644 --- a/tools/lldb/DIR_METADATA +++ b/tools/lldb/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Tools" diff --git a/tools/luci-go/DIR_METADATA b/tools/luci-go/DIR_METADATA index 5faa339ed52ce8..f9d5a5eb6b0d3b 100644 --- a/tools/luci-go/DIR_METADATA +++ b/tools/luci-go/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Infra>Platform" diff --git a/tools/luci-go/README.md b/tools/luci-go/README.md index 5cb0ddf6c62f47..2b2c6b1bdfbf4d 100644 --- a/tools/luci-go/README.md +++ b/tools/luci-go/README.md @@ -1,5 +1,5 @@ # luci-go Contains executable built out of -https://chromium.googlesource.com/infra/luci/luci-go/+/master/client/cmd +https://chromium.googlesource.com/infra/luci/luci-go/+/main/client/cmd Mapped through CIPD. diff --git a/tools/mb/DIR_METADATA b/tools/mb/DIR_METADATA index d2d9af5936bf52..c9e376bb5e5601 100644 --- a/tools/mb/DIR_METADATA +++ b/tools/mb/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Infra>Client>Chrome" diff --git a/tools/mb/docs/user_guide.md b/tools/mb/docs/user_guide.md index 0685e53c37b75f..4b02f2f844097d 100644 --- a/tools/mb/docs/user_guide.md +++ b/tools/mb/docs/user_guide.md @@ -225,7 +225,7 @@ to a file called `runtime_deps` in the build directory, and pass that to Once GN has computed the lists of runtime dependencies, MB will then look up the command line for each target (currently this is hard-coded -in [mb.py](https://source.chromium.org/chromium/chromium/src/+/master:tools/mb/mb.py;l=1370)), and write out the +in [mb.py](https://source.chromium.org/chromium/chromium/src/+/main:tools/mb/mb.py;l=1370)), and write out the matching `.isolate` and `.isolated.gen.json` files. ## The mb_config.pyl config file diff --git a/tools/md_browser/footer.html b/tools/md_browser/footer.html index f16e3d3c3ec0a4..f475886507afae 100644 --- a/tools/md_browser/footer.html +++ b/tools/md_browser/footer.html @@ -3,7 +3,7 @@
diff --git a/tools/media_engagement_preload/DIR_METADATA b/tools/media_engagement_preload/DIR_METADATA index 9f769ce7f98ff8..2dc14a41ec9b50 100644 --- a/tools/media_engagement_preload/DIR_METADATA +++ b/tools/media_engagement_preload/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Internals>Media" diff --git a/tools/memory_inspector/DIR_METADATA b/tools/memory_inspector/DIR_METADATA index fceb01b1ee65ee..03fa4c236eae7c 100644 --- a/tools/memory_inspector/DIR_METADATA +++ b/tools/memory_inspector/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Tools" diff --git a/tools/metrics/DIR_METADATA b/tools/metrics/DIR_METADATA index 35d6bbc8c6286d..1867dd61ee8690 100644 --- a/tools/metrics/DIR_METADATA +++ b/tools/metrics/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Internals>Metrics" diff --git a/tools/metrics/common/models.py b/tools/metrics/common/models.py index eda57205b791cc..1f573860320ced 100644 --- a/tools/metrics/common/models.py +++ b/tools/metrics/common/models.py @@ -5,7 +5,7 @@ UMA uses several XML files to allow clients to describe the metrics that they collect, e.g. -https://chromium.googlesource.com/chromium/src/+/master/tools/metrics/rappor/rappor.xml +https://chromium.googlesource.com/chromium/src/+/main/tools/metrics/rappor/rappor.xml These types can be used to build models that describe the canonical formatted structure of these files, and the models can be used to extract the contents of diff --git a/tools/metrics/histograms/enums.xml b/tools/metrics/histograms/enums.xml index 937570675c770b..34bf1e4c4e16ee 100644 --- a/tools/metrics/histograms/enums.xml +++ b/tools/metrics/histograms/enums.xml @@ -14869,7 +14869,7 @@ Called by update_net_error_codes.py.--> List of currently defined Cr50 flash log event types. The latest and greatest set can be found in - https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/master/include/flash_log.h + https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/main/include/flash_log.h (enum flash_event_type and enum nvmem_failure_type). Note that NVMEM errors are logged as subevents of flash log event 5, we register them offset by 200. @@ -14911,7 +14911,7 @@ Called by update_net_error_codes.py.--> List of the client type of CRAS. The list can be found in - https://chromium.googlesource.com/chromiumos/third_party/adhd/+/master/cras/src/common/cras_types.h + https://chromium.googlesource.com/chromiumos/third_party/adhd/+/main/cras/src/common/cras_types.h (enum CRAS_CLIENT_TYPE). Unknown client. @@ -14935,7 +14935,7 @@ Called by update_net_error_codes.py.--> List of the device type of CRAS. The list can be found in - https://chromium.googlesource.com/chromiumos/third_party/adhd/+/master/cras/src/server/cras_server_metrics.c + https://chromium.googlesource.com/chromiumos/third_party/adhd/+/main/cras/src/server/cras_server_metrics.c (enum CRAS_METRICS_DEVICE_TYPE). @@ -15118,7 +15118,7 @@ to ensure that the crash string is shown properly on the user-facing crash UI. List of known battery indicator supports in Bluetooth Hands-free profile. This list should be aligned with CRAS: - https://chromium.googlesource.com/chromiumos/third_party/adhd/+/master/cras/src/server/cras_hfp_slc.h + https://chromium.googlesource.com/chromiumos/third_party/adhd/+/main/cras/src/server/cras_hfp_slc.h @@ -15134,7 +15134,7 @@ to ensure that the crash string is shown properly on the user-facing crash UI. List of codec ids used for SCO audio, in Bluetooth Hands-free profile. This list should be aligned with CRAS: - https://chromium.googlesource.com/chromiumos/third_party/adhd/+/master/cras/src/server/cras_hfp_slc.h + https://chromium.googlesource.com/chromiumos/third_party/adhd/+/main/cras/src/server/cras_hfp_slc.h @@ -15145,7 +15145,7 @@ to ensure that the crash string is shown properly on the user-facing crash UI. List of results(success or error code) of setting up a SCO connection for Bluetooth Hands-free profile. This list should be aligned with CRAS: - https://chromium.googlesource.com/chromiumos/third_party/adhd/+/master/cras/src/server/cras_server_metrics.h + https://chromium.googlesource.com/chromiumos/third_party/adhd/+/main/cras/src/server/cras_server_metrics.h @@ -38627,7 +38627,7 @@ Called by update_gpu_driver_bug_workaround_entries.py.--> List of the possible qualification status of a component. This is defined in - https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/master/hardware_verifier/proto/hardware_verifier.proto + https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/main/hardware_verifier/proto/hardware_verifier.proto (enum QualificationStatus). Unqualified @@ -40737,7 +40737,7 @@ Called by update_gpu_driver_bug_workaround_entries.py.--> (i.e. extension with ID "jkghodnilhceideoidjikpgommlajknk" and defined in google_xkb_manifest.json [1]), although InputMethod.ID2 histogram is recorded for open-source Chromium OS and third-party IME extensions as well. - [1] https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/resources/chromeos/input_method/google_xkb_manifest.json?q=google_xkb_manifest.json + [1] https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/resources/chromeos/input_method/google_xkb_manifest.json?q=google_xkb_manifest.json --> diff --git a/tools/metrics/histograms/histograms_xml/data_reduction_proxy/DIR_METADATA b/tools/metrics/histograms/histograms_xml/data_reduction_proxy/DIR_METADATA index 58ca403512b6de..798c4cfec8ca73 100644 --- a/tools/metrics/histograms/histograms_xml/data_reduction_proxy/DIR_METADATA +++ b/tools/metrics/histograms/histograms_xml/data_reduction_proxy/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Internals>Network>DataProxy" diff --git a/tools/metrics/histograms/histograms_xml/optimization/DIR_METADATA b/tools/metrics/histograms/histograms_xml/optimization/DIR_METADATA index cbcba9c7894b43..8ec3a933c31bb2 100644 --- a/tools/metrics/histograms/histograms_xml/optimization/DIR_METADATA +++ b/tools/metrics/histograms/histograms_xml/optimization/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Internals>OptimizationGuide" diff --git a/tools/metrics/histograms/histograms_xml/prefetch/DIR_METADATA b/tools/metrics/histograms/histograms_xml/prefetch/DIR_METADATA index 50d3d427d48993..9c19fed2133405 100644 --- a/tools/metrics/histograms/histograms_xml/prefetch/DIR_METADATA +++ b/tools/metrics/histograms/histograms_xml/prefetch/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Internals>Preload>PrefetchProxy" diff --git a/tools/metrics/histograms/histograms_xml/translate/DIR_METADATA b/tools/metrics/histograms/histograms_xml/translate/DIR_METADATA index c2ca6a7d4cf104..6734540c855ddb 100644 --- a/tools/metrics/histograms/histograms_xml/translate/DIR_METADATA +++ b/tools/metrics/histograms/histograms_xml/translate/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "UI>Browser>Language>Translate" diff --git a/tools/metrics/histograms/merge_xml.py b/tools/metrics/histograms/merge_xml.py index a9ddd496134978..ad8f2865920692 100755 --- a/tools/metrics/histograms/merge_xml.py +++ b/tools/metrics/histograms/merge_xml.py @@ -199,7 +199,7 @@ def main(): args = parser.parse_args() with open(args.output, 'w', encoding='utf-8', newline='\n') as f: # This is run by - # https://source.chromium.org/chromium/chromium/src/+/master:tools/metrics/BUILD.gn;drc=573e48309695102dec2da1e8f806c18c3200d414;l=5 + # https://source.chromium.org/chromium/chromium/src/+/main:tools/metrics/BUILD.gn;drc=573e48309695102dec2da1e8f806c18c3200d414;l=5 # to send the merged histograms.xml to the server side. Providing |UKM_XML| # here is not to merge ukm.xml but to populate `UkmEventNameHash` enum # values. diff --git a/tools/metrics/histograms/review_guidelines.md b/tools/metrics/histograms/review_guidelines.md index 5b2c09c2415c0c..7df5bfbf4f054c 100644 --- a/tools/metrics/histograms/review_guidelines.md +++ b/tools/metrics/histograms/review_guidelines.md @@ -21,7 +21,7 @@ During code review ensure the following - * If generating multiple histograms programmatically or defining common set of histogram, guide them to use - [histogram-suffixes](https://chromium.googlesource.com/chromium/src/tools/+/refs/heads/master/metrics/histograms/README.md#Histogram-Suffixes). + [histogram-suffixes](https://chromium.googlesource.com/chromium/src/tools/+/refs/heads/main/metrics/histograms/README.md#Histogram-Suffixes). * Verify that expires_after is reasonable. CL author should be able to justify it. See guidance at on diff --git a/tools/metrics/ukm/ukm.xml b/tools/metrics/ukm/ukm.xml index 17f08b4e10bce3..1db0937d6e106a 100644 --- a/tools/metrics/ukm/ukm.xml +++ b/tools/metrics/ukm/ukm.xml @@ -9,7 +9,7 @@ This file is used to generate a comprehensive list of Chrome UKM metrics along with a detailed description for each metric. See the following doc for details on how to add entries to this file: -https://chromium.googlesource.com/chromium/src.git/+/master/services/metrics/ukm_api.md +https://chromium.googlesource.com/chromium/src.git/+/main/services/metrics/ukm_api.md Events may be marked with the attribute singular="True" to indicate that the event will only occur once per source, and multiple entries will just diff --git a/tools/metrics/ukm/xml_validations.py b/tools/metrics/ukm/xml_validations.py index d95c33c7a9f37d..aed2b667204d7c 100644 --- a/tools/metrics/ukm/xml_validations.py +++ b/tools/metrics/ukm/xml_validations.py @@ -17,7 +17,7 @@ 'Invalid index field specification in ukm metric %(event)s:%(metric)s, the ' 'following metrics are used as index fields but are not configured to ' 'support it: [%(invalid_metrics)s]\n\n' - 'See https://chromium.googlesource.com/chromium/src.git/+/master/services/' + 'See https://chromium.googlesource.com/chromium/src.git/+/main/services/' 'metrics/ukm_api.md#aggregation-by-metrics-in-the-same-event for ' 'instructions on how to configure them.') diff --git a/tools/origin_trials/third_party/ed25519/DIR_METADATA b/tools/origin_trials/third_party/ed25519/DIR_METADATA index 4e1428ef55866b..b21fcd91daa77a 100644 --- a/tools/origin_trials/third_party/ed25519/DIR_METADATA +++ b/tools/origin_trials/third_party/ed25519/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Internals>OriginTrials" diff --git a/tools/perf/DIR_METADATA b/tools/perf/DIR_METADATA index b2607fdfee8191..628bfe71b35734 100644 --- a/tools/perf/DIR_METADATA +++ b/tools/perf/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Speed>Benchmarks" diff --git a/tools/perf/README.md b/tools/perf/README.md index 810f0c3b8bbb77..28f98d56956638 100644 --- a/tools/perf/README.md +++ b/tools/perf/README.md @@ -61,7 +61,7 @@ After figuring out where your story fits, create a new one. There is a considerable amount of variation between different benchmarks, so use a nearby story as a model. You may also need to introduce custom JavaScript to drive interactions on the page or to deal with nondeterminsim. For an example, search -[this file](https://source.chromium.org/chromium/chromium/src/+/master:tools/perf/page_sets/system_health/browsing_stories.py?q=browsing_stories.py&ss=chromium) +[this file](https://source.chromium.org/chromium/chromium/src/+/main:tools/perf/page_sets/system_health/browsing_stories.py?q=browsing_stories.py&ss=chromium) for browse:tools:sheets:2019. Next, we need to use WPR (WebPageReplay) to record all of the content requested by the test. By default, diff --git a/tools/perf/contrib/vr_benchmarks/DIR_METADATA b/tools/perf/contrib/vr_benchmarks/DIR_METADATA index 2654ed3dec3e8c..b51319c6794434 100644 --- a/tools/perf/contrib/vr_benchmarks/DIR_METADATA +++ b/tools/perf/contrib/vr_benchmarks/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Internals>XR>VR" diff --git a/tools/perf/core/perfetto_binary_roller/DIR_METADATA b/tools/perf/core/perfetto_binary_roller/DIR_METADATA index 2b8a972d77d0c1..5fac972cd0af8b 100644 --- a/tools/perf/core/perfetto_binary_roller/DIR_METADATA +++ b/tools/perf/core/perfetto_binary_roller/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Speed>Tracing" diff --git a/tools/perf/core/results_processor/README.md b/tools/perf/core/results_processor/README.md index fb561b43ac57d8..3242714b675429 100644 --- a/tools/perf/core/results_processor/README.md +++ b/tools/perf/core/results_processor/README.md @@ -15,14 +15,14 @@ contents: ## Test results file The `_test_results.jsonl` file tries to follow the -[LUCI test results format](https://source.chromium.org/chromium/infra/infra/+/master:go/src/go.chromium.org/luci/resultdb/sink/proto/v1/test_result.proto). +[LUCI test results format](https://source.chromium.org/chromium/infra/infra/+/main:go/src/go.chromium.org/luci/resultdb/sink/proto/v1/test_result.proto). Its every line is a json message of the `testResult` type. There are following additional conventions: - The following keys are mandatory: - status - testPath -- For [json3 output](https://chromium.googlesource.com/chromium/src/+/master/docs/testing/json_test_results_format.md), the following are also mandatory: +- For [json3 output](https://chromium.googlesource.com/chromium/src/+/main/docs/testing/json_test_results_format.md), the following are also mandatory: - expected - runDuration - testPath is either in the form `{benchmark_name}/{story_name}` or in the form diff --git a/tools/perf/core/results_processor/formatters/json3_output.py b/tools/perf/core/results_processor/formatters/json3_output.py index dd670e18b4ebb3..a17e86ecff0935 100644 --- a/tools/perf/core/results_processor/formatters/json3_output.py +++ b/tools/perf/core/results_processor/formatters/json3_output.py @@ -5,7 +5,7 @@ """Output formatter for JSON Test Results Format. Format specification: -https://chromium.googlesource.com/chromium/src/+/master/docs/testing/json_test_results_format.md +https://chromium.googlesource.com/chromium/src/+/main/docs/testing/json_test_results_format.md """ import collections diff --git a/tools/perf/expectations.config b/tools/perf/expectations.config index 256c421fda4288..ea94ebbd166312 100644 --- a/tools/perf/expectations.config +++ b/tools/perf/expectations.config @@ -1,6 +1,6 @@ # Test Expectation file for telemetry tests. # Instructions of how to use this file: -# https://chromium.googlesource.com/chromium/src/+/master/docs/speed/bot_health_sheriffing/how_to_disable_a_story.md +# https://chromium.googlesource.com/chromium/src/+/main/docs/speed/bot_health_sheriffing/how_to_disable_a_story.md # tags: [ android chromeos chromeos-local chromeos-remote linux mac mac-10.12 mac-10.13 win win10 win7 win-laptop # sierra highsierra android-marshmallow android-lollipop android-nougat android-oreo android-pie android-10 # android-kitkat ubuntu fuchsia ] diff --git a/tools/privacy_budget/blink_apis/proto/blink_apis.proto b/tools/privacy_budget/blink_apis/proto/blink_apis.proto index cba0a516a6442f..a35bb50d867199 100644 --- a/tools/privacy_budget/blink_apis/proto/blink_apis.proto +++ b/tools/privacy_budget/blink_apis/proto/blink_apis.proto @@ -39,7 +39,7 @@ enum HighEntropyType { // custom extended attributes. // // The latter are described in: -// https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/bindings/IDLExtendedAttributes.md +// https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/bindings/IDLExtendedAttributes.md // Next ID: 13 message ExtendedAttributes { // https://heycam.github.io/webidl/#CrossOriginIsolated @@ -63,7 +63,7 @@ message ExtendedAttributes { // https://heycam.github.io/webidl/#SecureContext bool secure_context = 5; - // https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#HighEntropy_m_a_c + // https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#HighEntropy_m_a_c // Ideally this must always be one of the well defined values. However, the // HIGH_ENTROPY_UNSPECIFIED value should also be interpreted as // NOT_HIGH_ENTROPY. @@ -72,14 +72,14 @@ message ExtendedAttributes { // Value of MeasureAs or the autogenerated use counter value. Empty or // undefined string is equivalent to no use counter. // - // https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#measure_i_m_a_c + // https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#measure_i_m_a_c string use_counter = 7; // The numeric value of the Use Counter feature constant. int64 use_counter_feature_value = 12; // Value of [RuntimeEnabled] - // https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#runtimeenabled_i_m_a_c + // https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#runtimeenabled_i_m_a_c // Empty or undefined string is equivalent to there not being // a `RuntimeEnabled` attribute. string runtime_enabled = 8; @@ -87,11 +87,11 @@ message ExtendedAttributes { // Cross origin exposure. The [CrossOrigin=(Setter)] and // [CrossOrigin=(Getter)] options are separated out into two distinct booleans // for easier access. - // https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#crossorigin_m_a + // https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#crossorigin_m_a bool cross_origin_getter = 9; bool cross_origin_setter = 10; - // https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#implementedas_i_m_s_a + // https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/bindings/IDLExtendedAttributes.md#implementedas_i_m_s_a // Empty or undefined string is equivalent to an absent [ImplementedAs] // attribute. string implemented_as = 11; diff --git a/tools/security/DIR_METADATA b/tools/security/DIR_METADATA index d553001d1573d8..fe80a32f8a3665 100644 --- a/tools/security/DIR_METADATA +++ b/tools/security/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Security" diff --git a/tools/usb_gadget/DIR_METADATA b/tools/usb_gadget/DIR_METADATA index 09bee288e262bb..b71474a2147ae6 100644 --- a/tools/usb_gadget/DIR_METADATA +++ b/tools/usb_gadget/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "IO>USB" diff --git a/tools/v8_context_snapshot/DIR_METADATA b/tools/v8_context_snapshot/DIR_METADATA index a50f14ccf66374..4afdacd89e756e 100644 --- a/tools/v8_context_snapshot/DIR_METADATA +++ b/tools/v8_context_snapshot/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Blink>Bindings" diff --git a/tools/variations/DIR_METADATA b/tools/variations/DIR_METADATA index adcfc148e79bfa..03054daef26a7c 100644 --- a/tools/variations/DIR_METADATA +++ b/tools/variations/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Internals>Metrics>Variations" diff --git a/tools/vim/DIR_METADATA b/tools/vim/DIR_METADATA index fceb01b1ee65ee..03fa4c236eae7c 100644 --- a/tools/vim/DIR_METADATA +++ b/tools/vim/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Tools" diff --git a/tools/web_bluetooth/DIR_METADATA b/tools/web_bluetooth/DIR_METADATA index 856a09139f1e3d..9cd0bea1f0fe58 100644 --- a/tools/web_bluetooth/DIR_METADATA +++ b/tools/web_bluetooth/DIR_METADATA @@ -1,10 +1,10 @@ # Metadata information for this directory. # # For more information on DIR_METADATA files, see: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md # # For the schema of this file, see Metadata message: -# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto +# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto monorail { component: "Blink>Bluetooth" diff --git a/tools/web_dev_style/css_checker.py b/tools/web_dev_style/css_checker.py index 7297cd8d012636..812b74ca402d5c 100644 --- a/tools/web_dev_style/css_checker.py +++ b/tools/web_dev_style/css_checker.py @@ -6,7 +6,7 @@ See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more details about the presubmit API built into depot_tools, and see -https://chromium.googlesource.com/chromium/src/+/master/styleguide/web/web.md +https://chromium.googlesource.com/chromium/src/+/main/styleguide/web/web.md for the rules we're checking against here. """ diff --git a/tools/web_dev_style/html_checker.py b/tools/web_dev_style/html_checker.py index 6f6086eef11b2c..a4d3149d5e70d7 100644 --- a/tools/web_dev_style/html_checker.py +++ b/tools/web_dev_style/html_checker.py @@ -97,7 +97,7 @@ def QuotePolymerBindings(self, line_number, line): def RunChecks(self): """Check for violations of the Chromium web development style guide. See - https://chromium.googlesource.com/chromium/src/+/master/styleguide/web/web.md + https://chromium.googlesource.com/chromium/src/+/main/styleguide/web/web.md """ results = [] diff --git a/tools/web_dev_style/js_checker.py b/tools/web_dev_style/js_checker.py index 72a6e7f322034e..af7eb4cf46a29a 100644 --- a/tools/web_dev_style/js_checker.py +++ b/tools/web_dev_style/js_checker.py @@ -92,7 +92,7 @@ def _GetErrorHighlight(self, start, length): def RunChecks(self): """Check for violations of the Chromium JavaScript style guide. See - https://chromium.googlesource.com/chromium/src/+/master/styleguide/web/web.md#JavaScript + https://chromium.googlesource.com/chromium/src/+/main/styleguide/web/web.md#JavaScript """ results = [] @@ -127,6 +127,6 @@ def RunChecks(self): if results: results.append(self.output_api.PresubmitNotifyResult( "See the JavaScript style guide at " - "https://chromium.googlesource.com/chromium/src/+/master/styleguide/web/web.md#JavaScript")) + "https://chromium.googlesource.com/chromium/src/+/main/styleguide/web/web.md#JavaScript")) return results diff --git a/tools/web_dev_style/resource_checker.py b/tools/web_dev_style/resource_checker.py index 576095e5c7340a..b3d6436ae17745 100644 --- a/tools/web_dev_style/resource_checker.py +++ b/tools/web_dev_style/resource_checker.py @@ -46,7 +46,7 @@ def RunChecks(self): def _RunCheckOnAffectedFiles(self, check, msg_template, is_error=False, only_changed_lines=False): """Check for violations of the Chromium web development style guide. See - https://chromium.googlesource.com/chromium/src/+/master/styleguide/web/web.md + https://chromium.googlesource.com/chromium/src/+/main/styleguide/web/web.md """ results = []