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

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

Issue 6249010: Cleanup: de-inline a bunch of classes, rename and move "PluginInstaller" to "... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/extension_install_ui.cc
===================================================================
--- chrome/browser/extensions/extension_install_ui.cc (revision 71863)
+++ chrome/browser/extensions/extension_install_ui.cc (working copy)
@@ -228,9 +228,10 @@
}
}
-void ExtensionInstallUI::ShowThemeInfoBar(
- const std::string& previous_theme_id, bool previous_use_system_theme,
- const Extension* new_theme, Profile* profile) {
+void ExtensionInstallUI::ShowThemeInfoBar(const std::string& previous_theme_id,
+ bool previous_use_system_theme,
+ const Extension* new_theme,
+ Profile* profile) {
if (!new_theme->is_theme())
return;
@@ -263,10 +264,8 @@
}
// Then either replace that old one or add a new one.
- InfoBarDelegate* new_delegate =
- GetNewThemeInstalledInfoBarDelegate(
- tab_contents, new_theme,
- previous_theme_id, previous_use_system_theme);
+ InfoBarDelegate* new_delegate = GetNewThemeInstalledInfoBarDelegate(
+ tab_contents, new_theme, previous_theme_id, previous_use_system_theme);
if (old_delegate)
tab_contents->ReplaceInfoBar(old_delegate, new_delegate);
@@ -310,13 +309,15 @@
#endif
InfoBarDelegate* ExtensionInstallUI::GetNewThemeInstalledInfoBarDelegate(
- TabContents* tab_contents, const Extension* new_theme,
- const std::string& previous_theme_id, bool previous_use_system_theme) {
+ TabContents* tab_contents,
+ const Extension* new_theme,
+ const std::string& previous_theme_id,
+ bool previous_use_system_theme) {
#if defined(TOOLKIT_GTK)
return new GtkThemeInstalledInfoBarDelegate(tab_contents, new_theme,
previous_theme_id, previous_use_system_theme);
#else
return new ThemeInstalledInfoBarDelegate(tab_contents, new_theme,
- previous_theme_id);
+ previous_theme_id);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698