Skip to content

Commit

Permalink
Add presubmit against usage of deprecated BrowserThreads.
Browse files Browse the repository at this point in the history
Following announcement @ https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/_X8yyHP3uwI

Bug: 653916
Change-Id: I1c6a4dc03adaf45ed8f28554e5d85139e782502a
Reviewed-on: https://chromium-review.googlesource.com/533806
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#479416}
  • Loading branch information
Gabriel Charette authored and Commit Bot committed Jun 14, 2017
1 parent 2f3e329 commit 664e448
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,16 @@
True,
(),
),
(
'BrowserThread::(FILE|FILE_USER_BLOCKING|DB|PROCESS_LAUNCHER|CACHE)',
(
'The non-UI/IO BrowserThreads are deprecated, please migrate this',
'code to TaskScheduler. See https://goo.gl/mDSxKl for details.',
'For questions, contact base/task_scheduler/OWNERS.',
),
True,
(),
),
(
'base::SequenceChecker',
(
Expand Down

0 comments on commit 664e448

Please sign in to comment.