diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 01:53:18 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 01:53:18 +0000 |
commit | f235af60b9764f7e9a2211e60c3242757816eddd (patch) | |
tree | d94c0925a2f733f794a40119ea468a1c79c6a1f7 /chrome/common/chrome_plugin_util.h | |
parent | f987e3dacf6a2aa203f0f7b9d6e9b01c2e782fcc (diff) | |
download | chromium_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.h | 4 |
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); |