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

Unified Diff: PRESUBMIT.py

Issue 2869893003: New Sequence/Thread checking API. (Closed)
Patch Set: fix tests in non-dcheck builds, need fixture can't use lambdas Created 3 years, 7 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 | base/sequence_checker.h » ('j') | 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 2bb70364529d86ea084fe9119449e4475bcd85bd..264083494f95b24afa1338ba5f539882ee788795 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -329,6 +329,30 @@ _BANNED_CPP_FUNCTIONS = (
True,
(),
),
+ (
+ 'base::NonThreadSafe',
+ (
+ 'base::NonThreadSafe is deprecated.',
+ ),
+ True,
+ (),
+ ),
+ (
+ 'base::SequenceChecker',
+ (
+ 'Consider using SEQUENCE_CHECKER macros instead of the class directly.',
+ ),
+ False,
+ (),
+ ),
+ (
+ 'base::ThreadChecker',
+ (
+ 'Consider using THREAD_CHECKER macros instead of the class directly.',
+ ),
+ False,
+ (),
+ ),
)
« no previous file with comments | « no previous file | base/sequence_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698