[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 <jopalmer@chromium.org> Reviewed-by: Dirk Pranke <dpranke@google.com> Reviewed-by: Jesse Doherty <jwd@chromium.org> Commit-Queue: Jesse Doherty <jwd@chromium.org> Cr-Commit-Position: refs/heads/master@{#885533}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
9ce89c5f48
commit
ab8812a665
tools
DIR_METADATA
accessibility
android
binary_size
chrome_extensions
open_my_editor
clang
code_coverage
cr
cros
emacs
fuchsia
idl_parser
infra
ipc_fuzzer
json_schema_compiler
lldb
luci-go
mb
md_browser
media_engagement_preload
memory_inspector
metrics
origin_trials
third_party
ed25519
perf
privacy_budget
blink_apis
proto
security
usb_gadget
v8_context_snapshot
variations
vim
web_bluetooth
web_dev_style
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Chromium" />
|
||||
<!-- We use asserts in Chromium. See https://chromium.googlesource.com/chromium/src/+/master/styleguide/java/java.md#Asserts -->
|
||||
<!-- We use asserts in Chromium. See https://chromium.googlesource.com/chromium/src/+/main/styleguide/java/java.md#Asserts -->
|
||||
<inspection_tool class="AndroidLintAssert" enabled="false" level="WARNING" enabled_by_default="false" />
|
||||
<inspection_tool class="AndroidLintRtlCompat" enabled="false" level="ERROR" enabled_by_default="false" />
|
||||
</profile>
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -156,7 +156,7 @@ class ResourceSizesDiff(BaseDiff):
|
||||
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
|
||||
|
@ -51,7 +51,7 @@
|
||||
</svg>
|
||||
<span class="label-text">Upload data</span>
|
||||
</label>
|
||||
<a href="https://chromium.googlesource.com/chromium/src/+/master/tools/binary_size/html_report_faq.md" class="icon-button"
|
||||
<a href="https://chromium.googlesource.com/chromium/src/+/main/tools/binary_size/html_report_faq.md" class="icon-button"
|
||||
title="FAQ" id="faq" target="_blank">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#5f6368">
|
||||
<path d="M11,18h2v-2h-2V18z M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M12,20c-4.41,0-8-3.59-8-8
|
||||
|
@ -363,7 +363,7 @@ PASSING Checks:
|
||||
{}
|
||||
|
||||
To understand what those checks are and how to pass them, see:
|
||||
https://chromium.googlesource.com/chromium/src/+/master/docs/speed/binary_size/android_binary_size_trybot.md
|
||||
https://chromium.googlesource.com/chromium/src/+/main/docs/speed/binary_size/android_binary_size_trybot.md
|
||||
|
||||
""".format(failing_checks_text, passing_checks_text)
|
||||
|
||||
|
@ -44,7 +44,7 @@ select `Open My Editor $file`.
|
||||
startup so that you don't have to remember to manually start it.
|
||||
|
||||
4. Create a `myeditor` executable to be used for launching your editor, and add
|
||||
it to your path. See [`myeditor-example/`](https://chromium.googlesource.com/chromium/src.git/+/master/tools/chrome_extensions/open_my_editor/myeditor-example/).
|
||||
it to your path. See [`myeditor-example/`](https://chromium.googlesource.com/chromium/src.git/+/main/tools/chrome_extensions/open_my_editor/myeditor-example/).
|
||||
5. Enjoy.
|
||||
|
||||
## How it works
|
||||
|
@ -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"
|
||||
|
@ -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>MemoryAllocator>GarbageCollection"
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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"
|
||||
|
@ -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__)))
|
||||
|
@ -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"
|
||||
|
@ -49,7 +49,7 @@
|
||||
<corpus_dir> - 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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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: <https://chromium.googlesource.com/chromium/src/+/master/tools/gn/README.md>
|
||||
;; manual: <https://chromium.googlesource.com/chromium/src/+/main/tools/gn/README.md>
|
||||
|
||||
;;; To Do:
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -20,7 +20,7 @@ import re
|
||||
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):
|
||||
|
@ -124,7 +124,7 @@ fake_idl_expected = """// Copyright %s The Chromium Authors. All rights reserved
|
||||
// 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 @@ fake_private_idl_expected = """// Copyright %s The Chromium Authors. All rights
|
||||
// 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 @@ fake_json_expected = """// Copyright %s The Chromium Authors. All rights reserve
|
||||
// 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 */
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -3,7 +3,7 @@
|
||||
<footer class="Site-footer">
|
||||
<div class="Footer">
|
||||
<div class="Footer-poweredBy">
|
||||
Powered by <a href="https://chromium.googlesource.com/chromium/src/+/master/tools/md_browser">md_browser</a>
|
||||
Powered by <a href="https://chromium.googlesource.com/chromium/src/+/main/tools/md_browser">md_browser</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -14869,7 +14869,7 @@ Called by update_net_error_codes.py.-->
|
||||
<summary>
|
||||
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.-->
|
||||
<enum name="CrasClientType">
|
||||
<summary>
|
||||
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).
|
||||
</summary>
|
||||
<int value="0" label="CRAS_CLIENT_TYPE_UNKNOWN">Unknown client.</int>
|
||||
@ -14935,7 +14935,7 @@ Called by update_net_error_codes.py.-->
|
||||
<enum name="CrasDeviceType">
|
||||
<summary>
|
||||
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).
|
||||
</summary>
|
||||
<int value="0" label="CRAS_METRICS_DEVICE_INTERNAL_SPEAKER"/>
|
||||
@ -15118,7 +15118,7 @@ to ensure that the crash string is shown properly on the user-facing crash UI.
|
||||
<summary>
|
||||
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
|
||||
</summary>
|
||||
<int value="0" label="CRAS_HFP_BATTERY_INDICATOR_NONE"/>
|
||||
<int value="1" label="CRAS_HFP_BATTERY_INDICATOR_HFP"/>
|
||||
@ -15134,7 +15134,7 @@ to ensure that the crash string is shown properly on the user-facing crash UI.
|
||||
<summary>
|
||||
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
|
||||
</summary>
|
||||
<int value="0" label="HFP_CODEC_UNUSED"/>
|
||||
<int value="1" label="HFP_CODEC_ID_CVSD"/>
|
||||
@ -15145,7 +15145,7 @@ to ensure that the crash string is shown properly on the user-facing crash UI.
|
||||
<summary>
|
||||
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
|
||||
</summary>
|
||||
<int value="0" label="SKT_SUCCESS"/>
|
||||
<int value="1" label="SKT_CONNECTION_ERROR"/>
|
||||
@ -38627,7 +38627,7 @@ Called by update_gpu_driver_bug_workaround_entries.py.-->
|
||||
<enum name="HardwareVerifierQualificationStatus">
|
||||
<summary>
|
||||
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).
|
||||
</summary>
|
||||
<int value="0" label="UNQUALIFIED">Unqualified</int>
|
||||
@ -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
|
||||
-->
|
||||
|
||||
<int value="-2082426075" label="xkb:cz:qwerty:cze"/>
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -17,7 +17,7 @@ INVALID_LOCAL_METRIC_FIELD_ERROR = (
|
||||
'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.')
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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,
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 ]
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
"""
|
||||
|
||||
|
@ -97,7 +97,7 @@ class HtmlChecker(object):
|
||||
|
||||
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 = []
|
||||
|
||||
|
@ -92,7 +92,7 @@ class JSChecker(object):
|
||||
|
||||
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 @@ class JSChecker(object):
|
||||
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
|
||||
|
@ -46,7 +46,7 @@ class ResourceChecker(object):
|
||||
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 = []
|
||||
|
||||
|
Reference in New Issue
Block a user