Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: chrome/browser/extensions/theme_installed_infobar_delegate.cc

Issue 922953002: Minor infobar cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..6bad4e87a2eb29d25ebdae337d1c1b4a3db25184 100644
--- a/chrome/browser/extensions/theme_installed_infobar_delegate.cc
+++ b/chrome/browser/extensions/theme_installed_infobar_delegate.cc
@@ -103,17 +103,17 @@ ThemeInstalledInfoBarDelegate::~ThemeInstalledInfoBarDelegate() {
theme_service_->OnInfobarDestroyed();
}
+infobars::InfoBarDelegate::Type
+ThemeInstalledInfoBarDelegate::GetInfoBarType() const {
+ return PAGE_ACTION_TYPE;
+}
+
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 {
- return PAGE_ACTION_TYPE;
-}
-
ThemeInstalledInfoBarDelegate*
ThemeInstalledInfoBarDelegate::AsThemePreviewInfobarDelegate() {
return this;

Powered by Google App Engine
This is Rietveld 408576698