Index: PRESUBMIT.py |
diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
index 9d29982a0432e03586182154df67edb05ade4327..2bb70364529d86ea084fe9119449e4475bcd85bd 100644 |
--- a/PRESUBMIT.py |
+++ b/PRESUBMIT.py |
@@ -319,6 +319,16 @@ _BANNED_CPP_FUNCTIONS = ( |
True, |
(), |
), |
+ ( |
+ 'BrowserThread::GetBlockingPool', |
+ ( |
+ 'Use base/task_scheduler/post_task.h instead of the blocking pool. See', |
+ 'mapping between both APIs in content/public/browser/browser_thread.h.', |
+ 'For questions, contact base/task_scheduler/OWNERS.', |
+ ), |
+ True, |
+ (), |
+ ), |
) |