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

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

Issue 11416324: Revert changes to have ExtensionService notify ThemeService directly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_install_ui_default.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_install_ui_browsertest.cc
diff --git a/chrome/browser/extensions/extension_install_ui_browsertest.cc b/chrome/browser/extensions/extension_install_ui_browsertest.cc
index 3bd833ecd3404cf0b38890331d9a24cc886eb6c0..66795deafc6d12b0598f6f7ff1a23063cabc507a 100644
--- a/chrome/browser/extensions/extension_install_ui_browsertest.cc
+++ b/chrome/browser/extensions/extension_install_ui_browsertest.cc
@@ -50,12 +50,7 @@ class ExtensionInstallUIBrowserTest : public ExtensionBrowserTest {
}
const Extension* GetTheme() const {
- Profile* profile = browser()->profile();
- std::string theme_id = ThemeService::GetThemeIDForProfile(profile);
- return
- (theme_id == ThemeService::kDefaultThemeID) ?
- NULL :
- profile->GetExtensionService()->GetExtensionById(theme_id, false);
+ return ThemeServiceFactory::GetThemeForProfile(browser()->profile());
}
};
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_install_ui_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698