diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 17:15:03 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 17:15:03 +0000 |
commit | d5e311be668e590bfa61c359efe3f5920eb29c58 (patch) | |
tree | 4cf8580fc63f9bb72f143b7baedd2a284a8487ef /chrome/common/notification_registrar.h | |
parent | ab7ede9ffdcf2af8028e3f95bece44caa51765b3 (diff) | |
download | chromium_src-d5e311be668e590bfa61c359efe3f5920eb29c58.zip chromium_src-d5e311be668e590bfa61c359efe3f5920eb29c58.tar.gz chromium_src-d5e311be668e590bfa61c359efe3f5920eb29c58.tar.bz2 |
Prevent NotificationRegistrar from pulling in platform threading stuff.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3013018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/notification_registrar.h')
-rw-r--r-- | chrome/common/notification_registrar.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/common/notification_registrar.h b/chrome/common/notification_registrar.h index 03f86e6..f8dd743 100644 --- a/chrome/common/notification_registrar.h +++ b/chrome/common/notification_registrar.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -8,7 +8,6 @@ #include <vector> #include "base/basictypes.h" -#include "base/platform_thread.h" #include "chrome/common/notification_observer.h" // Aids in registering for notifications and ensures that all registered @@ -40,8 +39,6 @@ class NotificationRegistrar { bool IsEmpty() const; private: - static void CheckCalledOnValidThread(PlatformThreadId thread_id); - struct Record; // We keep registered notifications in a simple vector. This means we'll do |