Index: chrome/browser/extensions/theme_installed_infobar_delegate.h |
=================================================================== |
--- chrome/browser/extensions/theme_installed_infobar_delegate.h (revision 44885) |
+++ chrome/browser/extensions/theme_installed_infobar_delegate.h (working copy) |
@@ -6,7 +6,6 @@ |
#define CHROME_BROWSER_EXTENSIONS_THEME_INSTALLED_INFOBAR_DELEGATE_H_ |
#include "chrome/browser/tab_contents/infobar_delegate.h" |
-#include "chrome/common/notification_registrar.h" |
class Extension; |
class SkBitmap; |
@@ -14,8 +13,7 @@ |
// When a user installs a theme, we display it immediately, but provide an |
// infobar allowing them to cancel. |
-class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate, |
- public NotificationObserver { |
+class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate { |
public: |
ThemeInstalledInfoBarDelegate(TabContents* tab_contents, |
const Extension* new_theme, |
@@ -30,30 +28,15 @@ |
ConfirmInfoBarDelegate::InfoBarButton button) const; |
virtual bool Cancel(); |
- // NotificationObserver implementation. |
- virtual void Observe(NotificationType type, |
- const NotificationSource& source, |
- const NotificationDetails& details); |
protected: |
Profile* profile() { return profile_; } |
private: |
Profile* profile_; |
- |
// Name of theme that's just been installed. |
std::string name_; |
- |
- // ID of theme that's just been installed. |
- std::string theme_id_; |
- |
// Used to undo theme install. |
std::string previous_theme_id_; |
- |
- // Tab to which this info bar is associated. |
- TabContents* tab_contents_; |
- |
- // Registers and unregisters us for notifications. |
- NotificationRegistrar registrar_; |
}; |
#endif // CHROME_BROWSER_EXTENSIONS_THEME_INSTALLED_INFOBAR_DELEGATE_H_ |