summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_plugin_util.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 01:53:18 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 01:53:18 +0000
commitf235af60b9764f7e9a2211e60c3242757816eddd (patch)
treed94c0925a2f733f794a40119ea468a1c79c6a1f7 /chrome/common/chrome_plugin_util.h
parentf987e3dacf6a2aa203f0f7b9d6e9b01c2e782fcc (diff)
downloadchromium_src-f235af60b9764f7e9a2211e60c3242757816eddd.zip
chromium_src-f235af60b9764f7e9a2211e60c3242757816eddd.tar.gz
chromium_src-f235af60b9764f7e9a2211e60c3242757816eddd.tar.bz2
Use a NotificationRegistrar to listen for notifications.
BUG=2381 Review URL: http://codereview.chromium.org/115676 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16704 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_plugin_util.h')
-rw-r--r--chrome/common/chrome_plugin_util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/chrome_plugin_util.h b/chrome/common/chrome_plugin_util.h
index d587ef1..2f24243 100644
--- a/chrome/common/chrome_plugin_util.h
+++ b/chrome/common/chrome_plugin_util.h
@@ -11,7 +11,7 @@
#include "base/non_thread_safe.h"
#include "base/ref_counted.h"
#include "chrome/common/chrome_plugin_api.h"
-#include "chrome/common/notification_observer.h"
+#include "chrome/common/notification_registrar.h"
class ChromePluginLib;
class MessageLoop;
@@ -51,6 +51,8 @@ class PluginHelper : public NotificationObserver, public NonThreadSafe {
const NotificationDetails& details);
protected:
+ NotificationRegistrar registrar_;
+
scoped_refptr<ChromePluginLib> plugin_;
DISALLOW_COPY_AND_ASSIGN(PluginHelper);