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

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: 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 119663895d8785f5ce4567e53f96f844de196860..fae24409f449cfb9c940d2904ffb7f5b5f204b20 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