summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorskyostil <skyostil@chromium.org>2015-04-20 03:38:52 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-20 10:39:02 +0000
commitf9469f7e5c507b27033c72c4e494f0111e68d8b4 (patch)
treea38e92d8cf84769acfcc29df280e67d996847983 /PRESUBMIT.py
parentd088d3503a46e227eb4452a54b7f083986e92f96 (diff)
downloadchromium_src-f9469f7e5c507b27033c72c4e494f0111e68d8b4.zip
chromium_src-f9469f7e5c507b27033c72c4e494f0111e68d8b4.tar.gz
chromium_src-f9469f7e5c507b27033c72c4e494f0111e68d8b4.tar.bz2
Add presubmit check for the deprecated MessageLoopProxy class
BUG=465354 Review URL: https://codereview.chromium.org/1097763002 Cr-Commit-Position: refs/heads/master@{#325828}
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 0ce83a6..99c0260 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -250,6 +250,15 @@ _BANNED_CPP_FUNCTIONS = (
r'extensions[\\\/]renderer[\\\/]safe_builtins\.*',
),
),
+ (
+ 'MessageLoopProxy',
+ (
+ 'MessageLoopProxy is deprecated. ',
+ 'Please use SingleThreadTaskRunner or ThreadTaskRunnerHandle instead.'
+ ),
+ True,
+ (),
+ ),
)
_IPC_ENUM_TRAITS_DEPRECATED = (