Index: chrome/browser/extensions/theme_installed_infobar_delegate.cc |
diff --git a/chrome/browser/extensions/theme_installed_infobar_delegate.cc b/chrome/browser/extensions/theme_installed_infobar_delegate.cc |
index 7731563438de64cbd89c1345165ef87416ae0cc1..0bc316c02106c1cb6978fecb8e2360e24d12111d 100644 |
--- a/chrome/browser/extensions/theme_installed_infobar_delegate.cc |
+++ b/chrome/browser/extensions/theme_installed_infobar_delegate.cc |
@@ -103,14 +103,8 @@ ThemeInstalledInfoBarDelegate::~ThemeInstalledInfoBarDelegate() { |
theme_service_->OnInfobarDestroyed(); |
} |
-int ThemeInstalledInfoBarDelegate::GetIconID() const { |
- // TODO(aa): Reply with the theme's icon, but this requires reading it |
- // asynchronously from disk. |
- return IDR_INFOBAR_THEME; |
-} |
- |
-infobars::InfoBarDelegate::Type ThemeInstalledInfoBarDelegate::GetInfoBarType() |
- const { |
+infobars::InfoBarDelegate::Type |
+ThemeInstalledInfoBarDelegate::GetInfoBarType() const { |
return PAGE_ACTION_TYPE; |
} |
@@ -119,6 +113,12 @@ ThemeInstalledInfoBarDelegate* |
return this; |
} |
+int ThemeInstalledInfoBarDelegate::GetIconID() const { |
+ // TODO(aa): Reply with the theme's icon, but this requires reading it |
+ // asynchronously from disk. |
+ return IDR_INFOBAR_THEME; |
+} |
+ |
base::string16 ThemeInstalledInfoBarDelegate::GetMessageText() const { |
return l10n_util::GetStringFUTF16(IDS_THEME_INSTALL_INFOBAR_LABEL, |
base::UTF8ToUTF16(name_)); |