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

Unified Diff: chrome/browser/ui/extensions/extension_install_ui_default.cc

Issue 244893004: Improve some naming (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 6 years, 8 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/ui/extensions/extension_install_ui_default.cc
diff --git a/chrome/browser/ui/extensions/extension_install_ui_default.cc b/chrome/browser/ui/extensions/extension_install_ui_default.cc
index 8e0ccfd701bb783c8ff965e79e69771929ead948..fe0f84e6fcdd16e657fb61f02225dccffaa651cb 100644
--- a/chrome/browser/ui/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/ui/extensions/extension_install_ui_default.cc
@@ -204,7 +204,7 @@ ExtensionInstallPrompt* ExtensionInstallUI::CreateInstallPromptWithProfile(
ExtensionInstallUIDefault::ExtensionInstallUIDefault(Profile* profile)
: ExtensionInstallUI(profile),
- previous_using_native_theme_(false),
+ previous_using_system_theme_(false),
use_app_installed_bubble_(false) {
// |profile| can be NULL during tests.
if (profile) {
@@ -213,8 +213,8 @@ ExtensionInstallUIDefault::ExtensionInstallUIDefault(Profile* profile)
ThemeServiceFactory::GetThemeForProfile(profile);
if (previous_theme)
previous_theme_id_ = previous_theme->id();
- previous_using_native_theme_ =
- ThemeServiceFactory::GetForProfile(profile)->UsingNativeTheme();
+ previous_using_system_theme_ =
+ ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme();
}
}
@@ -234,7 +234,7 @@ void ExtensionInstallUIDefault::OnInstallSuccess(const Extension* extension,
if (extension->is_theme()) {
ThemeInstalledInfoBarDelegate::Create(
- extension, profile(), previous_theme_id_, previous_using_native_theme_);
+ extension, profile(), previous_theme_id_, previous_using_system_theme_);
return;
}

Powered by Google App Engine
This is Rietveld 408576698