diff options
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 515b48c..abf711e 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -152,6 +152,15 @@ _BANNED_CPP_FUNCTIONS = ( (), ), ( + 'chrome::FindLastActiveWithProfile', + ( + 'This function is deprecated and we\'re working on removing it. Pass', + 'more context to get a Browser*, like a WebContents, window, or session', + 'id. Talk to robertshield@ for more information.', + ), + True, + ), + ( 'browser::FindAnyBrowser', ( 'This function is deprecated and we\'re working on removing it. Pass', |