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

Unified Diff: chrome/browser/apps/app_browsertest.cc

Issue 156843004: Remove ExtensionService::extension_prefs() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix UserScriptListenerTests.MultiProfile Created 6 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
« no previous file with comments | « no previous file | chrome/browser/apps/ephemeral_app_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_browsertest.cc
diff --git a/chrome/browser/apps/app_browsertest.cc b/chrome/browser/apps/app_browsertest.cc
index 8ac50ed040575af933261f5ab6823f794dc5aadc..5fb2f873d5a5ff74bcfe73fb89dd5ea798d6adc4 100644
--- a/chrome/browser/apps/app_browsertest.cc
+++ b/chrome/browser/apps/app_browsertest.cc
@@ -1009,9 +1009,7 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
ASSERT_FALSE(should_not_install.seen());
// Simulate a "downgrade" from version 2 in the test manifest.json to 1.
- ExtensionPrefs* extension_prefs =
- extensions::ExtensionSystem::Get(browser()->profile())->
- extension_service()->extension_prefs();
+ ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(browser()->profile());
// Clear the registered events to ensure they are updated.
extensions::ExtensionSystem::Get(browser()->profile())->event_router()->
« no previous file with comments | « no previous file | chrome/browser/apps/ephemeral_app_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698