Don't trigger banned func presubmit error for PROCESS_LAUNCHER.
PROCESS_LAUNCHER is being deprecated but its migration is blocked
on Android's requirement to have a java launcher thread. Remove the
presubmit error for it while a migration path is being conceived.
Bug:
Change-Id: I9f533c9a53b5c6b9482a07c764f8825dccb9aeaf
Reviewed-on: https://chromium-review.googlesource.com/627343
Reviewed-by: Paweł Hajdan Jr. <[email protected]>
Reviewed-by: Gabriel Charette <[email protected]>
Commit-Queue: Kevin Marshall <[email protected]>
Cr-Commit-Position: refs/heads/master@{#497103}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 10d86ab..285a98d5 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -342,8 +342,7 @@
(),
),
(
- r'/(WebThread|BrowserThread)::'
- r'(FILE|FILE_USER_BLOCKING|DB|PROCESS_LAUNCHER|CACHE)',
+ r'/(WebThread|BrowserThread)::(FILE|FILE_USER_BLOCKING|DB|CACHE)',
(
'The non-UI/IO BrowserThreads are deprecated, please migrate this',
'code to TaskScheduler. See https://goo.gl/mDSxKl for details.',