From f1b6de229e00a4d6c953e75cb96320440a0e9eb9 Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Sat, 6 Mar 2010 12:13:47 +0000 Subject: Next part of removing the dependency of chrome/common on chrome/browser TEST=none BUG=none Review URL: http://codereview.chromium.org/669184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40834 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/notification_registrar.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chrome/common/notification_registrar.h') 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 #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; -- cgit v1.1