summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 19:51:21 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 19:51:21 +0000
commit0cb941091a7bd3ae1fbb909330d73001afa7f5f3 (patch)
tree8b84b1689fd8f41901b5f489440979f72bb6f622 /chrome/browser/browser.h
parent557c772943a7257f3c90cbe811c5ec1b7902a3ba (diff)
downloadchromium_src-0cb941091a7bd3ae1fbb909330d73001afa7f5f3.zip
chromium_src-0cb941091a7bd3ae1fbb909330d73001afa7f5f3.tar.gz
chromium_src-0cb941091a7bd3ae1fbb909330d73001afa7f5f3.tar.bz2
Use a NotificationRegistrar to listen for notifications.
BUG=2381 Review URL: http://codereview.chromium.org/115673 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index d1aca35..6972308 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -20,7 +20,7 @@
#include "chrome/browser/tabs/tab_strip_model.h"
#include "chrome/browser/tab_contents/tab_contents_delegate.h"
#include "chrome/browser/toolbar_model.h"
-#include "chrome/common/notification_observer.h"
+#include "chrome/common/notification_registrar.h"
#include "chrome/common/pref_member.h"
#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
@@ -644,6 +644,8 @@ class Browser : public TabStripModelDelegate,
// Data members /////////////////////////////////////////////////////////////
+ NotificationRegistrar registrar_;
+
// This Browser's type.
Type type_;