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

Unified Diff: chrome/browser/sync/test/integration/two_client_app_list_sync_test.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
Index: chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc b/chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc
index d16e88ca82b527ea4c796f5ff9a00d83b3f18e95..3fce430a031427f913ef27281cfac076fe4d0d6c 100644
--- a/chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc
+++ b/chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc
@@ -16,6 +16,7 @@
#include "chrome/common/chrome_switches.h"
#include "content/public/browser/notification_service.h"
#include "content/public/test/test_utils.h"
+#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_system.h"
#include "ui/app_list/app_list_switches.h"
@@ -434,10 +435,10 @@ IN_PROC_BROWSER_TEST_F(TwoClientAppListSyncTest, RemoveDefault) {
ASSERT_TRUE(AllProfilesHaveSameAppListAsVerifier());
// Flag Default app in Profile 1.
- extensions::ExtensionSystem::Get(GetProfile(1))->
- extension_service()->extension_prefs()->
- UpdateExtensionPref(default_app_id, "was_installed_by_default",
- new base::FundamentalValue(true));
+ extensions::ExtensionPrefs::Get(GetProfile(1))
+ ->UpdateExtensionPref(default_app_id,
+ "was_installed_by_default",
+ new base::FundamentalValue(true));
// Remove the default app in Profile 0 and verifier, ensure it was removed
// in Profile 1.

Powered by Google App Engine
This is Rietveld 408576698