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

Unified Diff: chrome/browser/sync/test/integration/sync_app_list_helper.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/sync_app_list_helper.cc
diff --git a/chrome/browser/sync/test/integration/sync_app_list_helper.cc b/chrome/browser/sync/test/integration/sync_app_list_helper.cc
index 17751baae25ee95eee0b9e420463b4d7c4b15354..79dc84e4ec07e655da409fbf944bc8b9f25b7ef1 100644
--- a/chrome/browser/sync/test/integration/sync_app_list_helper.cc
+++ b/chrome/browser/sync/test/integration/sync_app_list_helper.cc
@@ -5,13 +5,13 @@
#include "chrome/browser/sync/test/integration/sync_app_list_helper.h"
#include "base/strings/stringprintf.h"
-#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "chrome/browser/ui/app_list/app_list_syncable_service.h"
#include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h"
#include "chrome/common/extensions/sync_helper.h"
+#include "extensions/browser/app_sorting.h"
#include "extensions/browser/extension_system.h"
#include "ui/app_list/app_list_folder_item.h"
#include "ui/app_list/app_list_item.h"
@@ -170,8 +170,7 @@ void SyncAppListHelper::PrintItem(Profile* profile,
AppListItem* item,
const std::string& label) {
extensions::AppSorting* s =
- extensions::ExtensionSystem::Get(profile)->extension_service()->
- extension_prefs()->app_sorting();
+ extensions::ExtensionPrefs::Get(profile)->app_sorting();
std::string id = item->id();
if (item->GetItemType() == AppListFolderItem::kItemType) {
VLOG(1) << label << item->ToDebugString();

Powered by Google App Engine
This is Rietveld 408576698