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, |
+ (), |
+ ), |
) |