Skip to content

Commit 046f987

Browse files
John PalmerChromium LUCI CQ
John Palmer
authored and
Chromium LUCI CQ
committed
[COIL] Change chromium code search type links to use main rather than master for docs
See this doc: go/chromium-coil-change for more info BUG=1210385 Change-Id: I6cd8548301e360bae8e71384dbd8ef11aa6c985f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2902904 Reviewed-by: My Nguyen <[email protected]> Commit-Queue: My Nguyen <[email protected]> Auto-Submit: John Palmer <[email protected]> Cr-Commit-Position: refs/heads/master@{#885851}
1 parent a13109c commit 046f987

File tree

130 files changed

+471
-471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+471
-471
lines changed

docs/DIR_METADATA

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Metadata information for this directory.
22
#
33
# For more information on DIR_METADATA files, see:
4-
# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md
4+
# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md
55
#
66
# For the schema of this file, see Metadata message:
7-
# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto
7+
# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto
88

99
# build@ isn't really the right component for this, but it'll
1010
# do until we create a component for documentation.

docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory contains chromium project documentation in
44
[Gitiles-flavored Markdown]. It is automatically [rendered by Gitiles].
55

66
[Gitiles-flavored Markdown]: https://gerrit.googlesource.com/gitiles/+/master/Documentation/markdown.md
7-
[rendered by Gitiles]: https://chromium.googlesource.com/chromium/src/+/master/docs/
7+
[rendered by Gitiles]: https://chromium.googlesource.com/chromium/src/+/main/docs/
88

99
If you add new documents, please also add a link to them in the Document Index
1010
below.

docs/accessibility/DIR_METADATA

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Metadata information for this directory.
22
#
33
# For more information on DIR_METADATA files, see:
4-
# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md
4+
# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md
55
#
66
# For the schema of this file, see Metadata message:
7-
# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto
7+
# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto
88

99
monorail {
1010
component: "Internals>Accessibility"

docs/accessibility/espeak.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The next steps require that you have the full Chrome OS source code
9292
checked out and you're in your chroot. See the Chromium OS Developer Guide
9393
for instructions:
9494

95-
https://chromium.googlesource.com/chromiumos/docs/+/master/developer_guide.md
95+
https://chromium.googlesource.com/chromiumos/docs/+/main/developer_guide.md
9696

9797

9898
espeak-ng is in this directory:

docs/accessibility/ia2_to_uia.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ does not require the shared unique id. Consider the same example above.
131131
~~~
132132

133133
## Docs & References:
134-
[Custom UIA Property and Pattern registration in Chromium](https://chromium.googlesource.com/chromium/src/+/master/ui/accessibility/platform/uia_registrar_win.h)
134+
[Custom UIA Property and Pattern registration in Chromium](https://chromium.googlesource.com/chromium/src/+/main/ui/accessibility/platform/uia_registrar_win.h)
135135

136136
[UI Automation IItemContainerPattern. It is used to look up IAccessible2 element
137137
via a unique id](https://docs.microsoft.com/en-us/windows/win32/api/uiautomationclient/nn-uiautomationclient-iuiautomationitemcontainerpattern)

docs/accessibility/overview.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,9 @@ which is renderer-side code, and in JavaScript by the [automation API]. The API
510510
is defined by [automation.idl], which must be kept synchronized with
511511
[ax_enums.mojom].
512512

513-
[ax.mojom.AXActionData]: https://source.chromium.org/chromium/chromium/src/+/master:ui/accessibility/mojom/ax_action_data.mojom;l=13
514-
[ax.mojom.RenderAccessibilityHost::HandleAXEvents()]: https://source.chromium.org/chromium/chromium/src/+/master:content/common/render_accessibility.mojom;l=47
515-
[ax.mojom.RenderAccessibility.PerformAction()]: https://source.chromium.org/chromium/chromium/src/+/master:content/common/render_accessibility.mojom;l=86
513+
[ax.mojom.AXActionData]: https://source.chromium.org/chromium/chromium/src/+/main:ui/accessibility/mojom/ax_action_data.mojom;l=13
514+
[ax.mojom.RenderAccessibilityHost::HandleAXEvents()]: https://source.chromium.org/chromium/chromium/src/+/main:content/common/render_accessibility.mojom;l=47
515+
[ax.mojom.RenderAccessibility.PerformAction()]: https://source.chromium.org/chromium/chromium/src/+/main:content/common/render_accessibility.mojom;l=86
516516
[AutomationInternalCustomBindings]: https://cs.chromium.org/chromium/src/extensions/renderer/api/automation/automation_internal_custom_bindings.h
517517
[AXContentNodeData]: https://cs.chromium.org/chromium/src/content/common/ax_content_node_data.h
518518
[AXLayoutObject]: https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/accessibility/ax_layout_object.h
@@ -530,7 +530,7 @@ is defined by [automation.idl], which must be kept synchronized with
530530
[ViewAccessibility]: https://cs.chromium.org/chromium/src/ui/views/accessibility/view_accessibility.h
531531
[Node]: https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/dom/node.h
532532
[RenderAccessibilityImpl]: https://cs.chromium.org/chromium/src/content/renderer/accessibility/render_accessibility_impl.h
533-
[RenderAccessibilityManager]: https://source.chromium.org/chromium/chromium/src/+/master:content/renderer/accessibility/render_accessibility_manager.h
533+
[RenderAccessibilityManager]: https://source.chromium.org/chromium/chromium/src/+/main:content/renderer/accessibility/render_accessibility_manager.h
534534
[RenderFrameHostImpl]: https://cs.chromium.org/chromium/src/content/browser/renderer_host/render_frame_host_impl.h
535535
[ui::AXNodeData]: https://cs.chromium.org/chromium/src/ui/accessibility/ax_node_data.h
536536
[WebAXObject]: https://cs.chromium.org/chromium/src/third_party/blink/public/web/web_ax_object.h

docs/accessibility/reader_mode.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ project is integrated into Chrome on Desktop.
1111
## Overview
1212

1313
Desktop Reader Mode is hidden behind a
14-
[base::Feature](https://source.chromium.org/chromium/chromium/src/+/master:components/dom_distiller/core/dom_distiller_features.cc)
14+
[base::Feature](https://source.chromium.org/chromium/chromium/src/+/main:components/dom_distiller/core/dom_distiller_features.cc)
1515
flag, ‘enable-reader-mode’. To run Chrome with Reader Mode, set the “Enable
1616
Reader Mode” flag to “Enabled” in chrome://flags or start Chrome with
1717
--enable-feature=”ReaderMode”.
@@ -72,7 +72,7 @@ forwards it to all registered observers, and caches it.
7272
### Toggling Reader Mode
7373
Users can toggle reader mode using an omnibox icon or an option, Toggle Reader
7474
Mode, in the “customize and control Chrome” menu, both of which execute
75-
BrowserCommands [ToggleDistilledView()](https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/ui/browser_commands.cc;bpv=1;bpt=1;l=1364?q=browser_commands%20dom_distiller&ss=chromium%2Fchromium%2Fsrc).
75+
BrowserCommands [ToggleDistilledView()](https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/browser_commands.cc;bpv=1;bpt=1;l=1364?q=browser_commands%20dom_distiller&ss=chromium%2Fchromium%2Fsrc).
7676

7777
[ReaderModeIconView](https://cs.chromium.org/chromium/src/chrome/browser/ui/views/reader_mode/reader_mode_icon_view.h)
7878
is a DistillabilityObserver and sets its visibility based on the latest result
@@ -144,7 +144,7 @@ considered a black box.
144144

145145
In short, content is extracted from the fully rendered article via Javascript
146146
(specifically from the compiled Javascript file built from DOM Distiller,
147-
[domdistiller.js](https://source.chromium.org/chromium/chromium/src/+/master:third_party/dom_distiller_js/dist/js/domdistiller.js))
147+
[domdistiller.js](https://source.chromium.org/chromium/chromium/src/+/main:third_party/dom_distiller_js/dist/js/domdistiller.js))
148148
into a DistilledPageProto.
149149

150150
The DOM Distiller retrieves the currently loaded document’s DOM and converts it
@@ -166,11 +166,11 @@ the following:
166166

167167
### Displaying Reader Mode Pages
168168

169-
A [DistilledPageProto](https://source.chromium.org/chromium/chromium/src/+/master:components/dom_distiller/core/proto/distilled_page.proto)
169+
A [DistilledPageProto](https://source.chromium.org/chromium/chromium/src/+/main:components/dom_distiller/core/proto/distilled_page.proto)
170170
is created for each page distilled, and is used to generate the HTML of the
171171
distilled page.
172172

173173
Pages are loaded by
174-
[DomDistillerViewerSource](https://source.chromium.org/chromium/chromium/src/+/master:components/dom_distiller/content/browser/dom_distiller_viewer_source.h),
174+
[DomDistillerViewerSource](https://source.chromium.org/chromium/chromium/src/+/main:components/dom_distiller/content/browser/dom_distiller_viewer_source.h),
175175
which serves the HTML and resources for viewing pages. After the DOM is
176176
initially loaded, the contents are populated via Javascript.

docs/accessibility/tests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ out/release/content_shell \
4444
```
4545

4646
For information on modifying or adding web tests, see the main
47-
[web tests documentation](https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_tests.md).
47+
[web tests documentation](https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_tests.md).
4848

4949
## DumpAccessibilityTree tests
5050

docs/ad_tagging.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ behavior](https://support.google.com/webtools/answer/7347327).
99

1010
The ad detection infrastructure is called Ad Tagging. Ad Tagging works by
1111
matching resource requests against a filter list (see how the list is
12-
[generated](https://chromium.googlesource.com/chromium/src.git/+/master/components/subresource_filter/FILTER_LIST_GENERATION.md))
12+
[generated](https://chromium.googlesource.com/chromium/src.git/+/main/components/subresource_filter/FILTER_LIST_GENERATION.md))
1313
to determine if they’re ad requests. Any requests matching the filter are tagged
1414
as ads. Further, requests (and some DOM elements such as iframes) made on behalf
1515
of previously tagged scripts are also tagged as ads by the
@@ -23,7 +23,7 @@ request made within an ad iframe is considered an ad resource request.
2323

2424
### Subresource Filter
2525
The [Subresource
26-
Filter](https://chromium.googlesource.com/chromium/src.git/+/master/components/subresource_filter/README.md)
26+
Filter](https://chromium.googlesource.com/chromium/src.git/+/main/components/subresource_filter/README.md)
2727
loads the filter list and matches urls against it. The list is distributed via
2828
the component updater. This same list and component is used for blocking ads on
2929
abusive sites and those that violate the Better Ads Standard.

docs/android_build_instructions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ will not fail if an analysis check fails. Make sure to check the terminal that
400400
the server is running in at regular intervals to fix outstanding issues caught
401401
by these analysis checks.
402402

403-
[fast_local_dev]: https://source.chromium.org/chromium/chromium/src/+/master:build/android/fast_local_dev_server.py
403+
[fast_local_dev]: https://source.chromium.org/chromium/chromium/src/+/main:build/android/fast_local_dev_server.py
404404

405405
#### Incremental Install
406406
[Incremental Install](/build/android/incremental_install/README.md) uses

docs/android_debugging_instructions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ out/Default/bin/chrome_public_apk launch --args='--disable-fre' 'data:text/html;
2020
```
2121

2222
## Logging
23-
[Chromium logging from LOG(INFO)](https://chromium.googlesource.com/chromium/src/+/master/docs/android_logging.md)
23+
[Chromium logging from LOG(INFO)](https://chromium.googlesource.com/chromium/src/+/main/docs/android_logging.md)
2424
etc., is directed to the Android logcat logging facility. You can filter the
2525
messages, e.g. view chromium verbose logging, everything else at warning level
2626
with:

docs/autofill/DIR_METADATA

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Metadata information for this directory.
22
#
33
# For more information on DIR_METADATA files, see:
4-
# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/README.md
4+
# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/README.md
55
#
66
# For the schema of this file, see Metadata message:
7-
# https://source.chromium.org/chromium/infra/infra/+/master:go/src/infra/tools/dirmd/proto/dir_metadata.proto
7+
# https://source.chromium.org/chromium/infra/infra/+/main:go/src/infra/tools/dirmd/proto/dir_metadata.proto
88

99
monorail {
1010
component: "UI>Browser>Autofill"

docs/chrome_os_logging.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ When actively debugging issues, Chrome's `--vmodule` flag is sometimes used to
3939
temporarily log messages at lower severities for particular modules.
4040

4141
[base/logging.h]: ../base/logging.h
42-
[session_manager]: https://chromium.googlesource.com/chromiumos/platform2/+/master/login_manager/
43-
[Passing Chrome flags from session_manager]: https://chromium.googlesource.com/chromiumos/platform2/+/master/login_manager/docs/flags.md
42+
[session_manager]: https://chromium.googlesource.com/chromiumos/platform2/+/main/login_manager/
43+
[Passing Chrome flags from session_manager]: https://chromium.googlesource.com/chromiumos/platform2/+/main/login_manager/docs/flags.md

docs/chrome_untrusted.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Yes, but not by default and with some caveats.
5757

5858
Any team that requires extra capabilities granted to `chrome-untrusted://` should consult with the security team to ensure they are non-dangerous. In this context, we consider non-dangerous any API that we would expose to the renderer process, e.g. UMA.
5959

60-
We currently use `postMessage()` to expose certain APIs to `chrome-untrusted://`. For example, the Media App uses `postMessage()` to pass a read-only file handle to `chrome-untrusted://media-app` from `chrome-untrusted://`. Teams are encouraged to get a review from someone in [SECURITY_OWNERS](https://source.chromium.org/chromium/chromium/src/+/master:ipc/SECURITY_OWNERS) when exposing capabilities over postMessage.
60+
We currently use `postMessage()` to expose certain APIs to `chrome-untrusted://`. For example, the Media App uses `postMessage()` to pass a read-only file handle to `chrome-untrusted://media-app` from `chrome-untrusted://`. Teams are encouraged to get a review from someone in [SECURITY_OWNERS](https://source.chromium.org/chromium/chromium/src/+/main:ipc/SECURITY_OWNERS) when exposing capabilities over postMessage.
6161

6262
We are hoping to move to Mojo to improve auditability of these APIs and to make the security review required.
6363

@@ -118,7 +118,7 @@ class UntrustedExampleUI : public ui::UntrustedWebUIController {
118118
119119
2. Register the WebUIConfig
120120
121-
Add the `WebUIConfig` to the list of WebUIConfigs in `[ChromeUntrustedWebUIControllerFactory](https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/ui/webui/chrome_untrusted_web_ui_controller_factory.cc)`.
121+
Add the `WebUIConfig` to the list of WebUIConfigs in `[ChromeUntrustedWebUIControllerFactory](https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/webui/chrome_untrusted_web_ui_controller_factory.cc)`.
122122
123123
```cpp
124124
register_config(std::make_unique<chromeos::UntrustedExampleUIConfig>());

docs/chromeos_build_instructions.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build configurations:
1818
## Common setup
1919

2020
First, follow the [normal Linux build
21-
instructions](https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md)
21+
instructions](https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md)
2222
as usual to get a Chromium checkout.
2323

2424
You'll also need to add `'chromeos'` to the `target_os` list in your `.gclient`
@@ -98,8 +98,8 @@ Some useful flags:
9898
virtual screens, by display position and size.
9999
* `--enable-features=Feature1,OtherFeature2`: Enable specified features.
100100
Features are often listed in chrome://flags, or in source files such as
101-
[chrome_features.cc](https://source.chromium.org/chromium/chromium/src/+/master:chrome/common/chrome_features.cc)
102-
or [ash_features.cc](https://source.chromium.org/chromium/chromium/src/+/master:ash/constants/ash_features.cc).
101+
[chrome_features.cc](https://source.chromium.org/chromium/chromium/src/+/main:chrome/common/chrome_features.cc)
102+
or [ash_features.cc](https://source.chromium.org/chromium/chromium/src/+/main:ash/constants/ash_features.cc).
103103
Note that changing values in chrome://flags does not work for
104104
linux-chromeos, and this flag must be used.
105105
* `--enable-ui-devtools[=9223]`: Allow debugging of the system UI through
@@ -201,4 +201,4 @@ supplied in the imported .gni file after the `import()` line.
201201

202202
For more information (like copying the locally-built Chrome to a device, or
203203
running Tast tests), consult Simple Chrome's
204-
[full documentation](https://chromium.googlesource.com/chromiumos/docs/+/master/simple_chrome_workflow.md).
204+
[full documentation](https://chromium.googlesource.com/chromiumos/docs/+/main/simple_chrome_workflow.md).

docs/chromeos_glossary.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
See [Chromium OS Glossary](https://chromium.googlesource.com/chromiumos/docs/+/master/glossary.md)
1+
See [Chromium OS Glossary](https://chromium.googlesource.com/chromiumos/docs/+/main/glossary.md)

docs/cipd_and_3pp.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
specified in [DEPS] and updated via `gclient sync`.
1212
* You can [browse Chromium's CIPD repository][browse] online.
1313

14-
[CIPD]: https://chromium.googlesource.com/infra/luci/luci-go/+/master/cipd/README.md
14+
[CIPD]: https://chromium.googlesource.com/infra/luci/luci-go/+/main/cipd/README.md
1515
[DEPS]: /DEPS
1616
[browse]: https://chrome-infra-packages.appspot.com/p/chromium
1717

@@ -23,7 +23,7 @@
2323
* By specifying a 3pp package, you can define how to build certain artifacts and
2424
where to upload to CIPD. Then our packagers will do the rest for you.
2525

26-
[support_3pp]: https://chromium.googlesource.com/infra/infra/+/master/recipes/README.recipes.md#recipe_modules-support_3pp
26+
[support_3pp]: https://chromium.googlesource.com/infra/infra/+/main/recipes/README.recipes.md#recipe_modules-support_3pp
2727

2828
## Why use CIPD & 3pp?:
2929

@@ -96,9 +96,9 @@ into two main sections:
9696
* `upload`: contains some details on how the final result gets uploaded to CIPD.
9797
See [here][doc_upload] for more details.
9898

99-
[`spec.proto`]: https://chromium.googlesource.com/infra/infra/+/master/recipes/recipe_modules/support_3pp/spec.proto
100-
[doc_create]: https://chromium.googlesource.com/infra/infra/+/master/recipes/README.recipes.md#creation-stages
101-
[doc_upload]: https://chromium.googlesource.com/infra/infra/+/master/recipes/README.recipes.md#upload
99+
[`spec.proto`]: https://chromium.googlesource.com/infra/infra/+/main/recipes/recipe_modules/support_3pp/spec.proto
100+
[doc_create]: https://chromium.googlesource.com/infra/infra/+/main/recipes/README.recipes.md#creation-stages
101+
[doc_upload]: https://chromium.googlesource.com/infra/infra/+/main/recipes/README.recipes.md#upload
102102

103103
Staying with the example from above, the file `sample_cipd_dep/3pp/3pp.pb` may
104104
be like the following:
@@ -355,7 +355,7 @@ cipd_package_definition("my_cipd_package") {
355355
sources = [ "//path/to:test_binary_file" ]
356356
}
357357
```
358-
[build/cipd/cipd.gni]: https://source.chromium.org/chromium/chromium/src/+/master:build/cipd/cipd.gni
358+
[build/cipd/cipd.gni]: https://source.chromium.org/chromium/chromium/src/+/main:build/cipd/cipd.gni
359359

360360
### Permissions in CIPD
361361

docs/clang_sheriffing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ work on linker bugs without having to have a Chromium build environment.
198198
To use `ld.lld`'s `--reproduce` flag, follow these steps:
199199

200200
1. Locally (build Chromium with a locally-built
201-
clang)[https://chromium.googlesource.com/chromium/src.git/+/master/docs/clang.md#Using-a-custom-clang-binary]
201+
clang)[https://chromium.googlesource.com/chromium/src.git/+/main/docs/clang.md#Using-a-custom-clang-binary]
202202

203203
1. After reproducing the link error, build just the failing target with
204204
ninja's `-v -d keeprsp` flags added:

0 commit comments

Comments
 (0)