diff options
author | skyostil <skyostil@chromium.org> | 2015-04-20 03:38:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-20 10:39:02 +0000 |
commit | f9469f7e5c507b27033c72c4e494f0111e68d8b4 (patch) | |
tree | a38e92d8cf84769acfcc29df280e67d996847983 /PRESUBMIT.py | |
parent | d088d3503a46e227eb4452a54b7f083986e92f96 (diff) | |
download | chromium_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.py | 9 |
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 = ( |