summaryrefslogtreecommitdiffstats
path: root/chrome/common/notification_registrar.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/notification_registrar.h')
-rw-r--r--chrome/common/notification_registrar.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/common/notification_registrar.h b/chrome/common/notification_registrar.h
index 3d71783..03f86e6 100644
--- a/chrome/common/notification_registrar.h
+++ b/chrome/common/notification_registrar.h
@@ -8,7 +8,7 @@
#include <vector>
#include "base/basictypes.h"
-#include "chrome/browser/chrome_thread.h"
+#include "base/platform_thread.h"
#include "chrome/common/notification_observer.h"
// Aids in registering for notifications and ensures that all registered
@@ -40,8 +40,7 @@ class NotificationRegistrar {
bool IsEmpty() const;
private:
- ChromeThread::ID GetCurrentThreadIdentifier();
- void CheckCalledOnValidWellKnownThread(ChromeThread::ID thread_id);
+ static void CheckCalledOnValidThread(PlatformThreadId thread_id);
struct Record;