PRESUBMIT: make crbug references copy+pastable
BUG=755321,714018,570091
Change-Id: I7cfe86901561910107919e18102ade3a4015f471
Reviewed-on: https://chromium-review.googlesource.com/838060
Commit-Queue: Mostyn Bramley-Moore <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Cr-Commit-Position: refs/heads/master@{#525829}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 3dec54d..d5f392a 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -425,7 +425,7 @@
r'std::regex',
(
'Using std::regex adds unnecessary binary size to Chrome. Please use',
- 're2::RE2 instead (crbug/755321)',
+ 're2::RE2 instead (crbug.com/755321)',
),
True,
(),
@@ -443,7 +443,7 @@
r'/\bbase::Bind\(',
(
'Please consider using base::Bind{Once,Repeating} instead '
- 'of base::Bind. (crbug/714018)',
+ 'of base::Bind. (crbug.com/714018)',
),
False,
(),
@@ -452,7 +452,7 @@
r'/\bbase::Callback<',
(
'Please consider using base::{Once,Repeating}Callback instead '
- 'of base::Callback. (crbug/714018)',
+ 'of base::Callback. (crbug.com/714018)',
),
False,
(),
@@ -461,7 +461,7 @@
r'/\bbase::Closure\b',
(
'Please consider using base::{Once,Repeating}Closure instead '
- 'of base::Closure. (crbug/714018)',
+ 'of base::Closure. (crbug.com/714018)',
),
False,
(),
@@ -2086,7 +2086,8 @@
# Mac, so skip it on other platforms.
if input_api.platform != 'linux2':
return []
- # TODO(agrieve): Update when there's a better way to detect this: crbug/570091
+ # TODO(agrieve): Update when there's a better way to detect
+ # this: crbug.com/570091
is_android = input_api.os_path.exists('third_party/android_tools')
pydeps_files = _ALL_PYDEPS_FILES if is_android else _GENERIC_PYDEPS_FILES
results = []