summaryrefslogtreecommitdiffstats
path: root/base/non_thread_safe.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/non_thread_safe.h')
-rw-r--r--base/non_thread_safe.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/base/non_thread_safe.h b/base/non_thread_safe.h
index 6f993ee..24a9012 100644
--- a/base/non_thread_safe.h
+++ b/base/non_thread_safe.h
@@ -6,8 +6,7 @@
#define BASE_NON_THREAD_SAFE_H_
#pragma once
-#include "base/platform_thread.h"
-#include "base/thread_checker.h"
+#include "base/threading/thread_checker.h"
// A helper class used to help verify that methods of a class are
// called from the same thread. One can inherit from this class and use
@@ -43,7 +42,7 @@ class NonThreadSafe {
void DetachFromThread();
private:
- ThreadChecker thread_checker_;
+ base::ThreadChecker thread_checker_;
};
#else
// Do nothing in release mode.