summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/theme_installed_infobar_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/theme_installed_infobar_delegate.h')
-rw-r--r--chrome/browser/extensions/theme_installed_infobar_delegate.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/extensions/theme_installed_infobar_delegate.h b/chrome/browser/extensions/theme_installed_infobar_delegate.h
index e54ca0a..eb1ec58 100644
--- a/chrome/browser/extensions/theme_installed_infobar_delegate.h
+++ b/chrome/browser/extensions/theme_installed_infobar_delegate.h
@@ -11,17 +11,19 @@
#include "content/common/notification_observer.h"
#include "content/common/notification_registrar.h"
-class ThemeService;
class Extension;
-class Profile;
+class ExtensionService;
class SkBitmap;
+class ThemeService;
// When a user installs a theme, we display it immediately, but provide an
// infobar allowing them to cancel.
class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate,
public NotificationObserver {
public:
- ThemeInstalledInfoBarDelegate(TabContents* tab_contents,
+ ThemeInstalledInfoBarDelegate(InfoBarTabHelper* infobar_helper,
+ ExtensionService* extension_service,
+ ThemeService* theme_service,
const Extension* new_theme,
const std::string& previous_theme_id,
bool previous_using_native_theme);
@@ -53,7 +55,7 @@ class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate,
const NotificationSource& source,
const NotificationDetails& details) OVERRIDE;
- Profile* profile_;
+ ExtensionService* extension_service_;
ThemeService* theme_service_;
// Name of theme that's just been installed.