Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: PRESUBMIT.py

Issue 2841173002: Add presubmit check against usage of BrowserThread::GetBlockingPool(). (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 819bf7337311411589c2bfb4c872465e76bd1e58..8901195c80653a3280b30269f1caa68452d21c04 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -318,6 +318,14 @@ _BANNED_CPP_FUNCTIONS = (
True,
(),
),
+ (
+ 'BrowserThread::GetBlockingPool',
+ (
+ 'Use base/task_scheduler/post_task.h instead of the blocking pool.',
+ ),
+ True,
gab 2017/04/28 01:58:24 Does True here mean "block CQ" or "warning only"?
fdoray 2017/05/01 17:39:03 Discussed offline. If a components already has co
+ (),
+ ),
)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698