New Sequence/Thread checking API.

Macro-based to be zero size cost in non-dcheck builds.

Based on discussion  @ https://groups.google.com/a/chromium.org/d/topic/chromium-dev/99pKNd2kCcg/discussion

BUG=714835

Review-Url: https://codereview.chromium.org/2869893003
Cr-Commit-Position: refs/heads/master@{#470804}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index cacc7639..faaa672 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -329,6 +329,30 @@
       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,
+      (),
+    ),
 )