summaryrefslogtreecommitdiffstats
path: root/chrome/common/notification_registrar.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-06 12:13:47 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-06 12:13:47 +0000
commitf1b6de229e00a4d6c953e75cb96320440a0e9eb9 (patch)
tree910cd7fae28248876b0eb5fec46a71a1cf0be3d5 /chrome/common/notification_registrar.h
parente240297039ebec1ffaeec45f65e01e8cdb8e1beb (diff)
downloadchromium_src-f1b6de229e00a4d6c953e75cb96320440a0e9eb9.zip
chromium_src-f1b6de229e00a4d6c953e75cb96320440a0e9eb9.tar.gz
chromium_src-f1b6de229e00a4d6c953e75cb96320440a0e9eb9.tar.bz2
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
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;