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

Side by Side Diff: chrome/browser/sync/test/integration/sync_app_list_helper.cc

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/test/integration/sync_app_list_helper.h" 5 #include "chrome/browser/sync/test/integration/sync_app_list_helper.h"
6 6
7 #include "chrome/browser/extensions/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/extensions/extension_system.h"
9 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" 9 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
11 #include "chrome/browser/sync/test/integration/sync_test.h" 10 #include "chrome/browser/sync/test/integration/sync_test.h"
12 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" 11 #include "chrome/browser/ui/app_list/app_list_syncable_service.h"
13 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" 12 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h"
14 #include "chrome/common/extensions/sync_helper.h" 13 #include "chrome/common/extensions/sync_helper.h"
14 #include "extensions/browser/extension_system.h"
15 #include "ui/app_list/app_list_item.h" 15 #include "ui/app_list/app_list_item.h"
16 #include "ui/app_list/app_list_model.h" 16 #include "ui/app_list/app_list_model.h"
17 17
18 using app_list::AppListItemList; 18 using app_list::AppListItemList;
19 using app_list::AppListItem; 19 using app_list::AppListItem;
20 using app_list::AppListSyncableService; 20 using app_list::AppListSyncableService;
21 using app_list::AppListSyncableServiceFactory; 21 using app_list::AppListSyncableServiceFactory;
22 22
23 SyncAppListHelper* SyncAppListHelper::GetInstance() { 23 SyncAppListHelper* SyncAppListHelper::GetInstance() {
24 SyncAppListHelper* instance = Singleton<SyncAppListHelper>::get(); 24 SyncAppListHelper* instance = Singleton<SyncAppListHelper>::get();
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 extensions::AppSorting* s = 133 extensions::AppSorting* s =
134 extensions::ExtensionSystem::Get(profile)->extension_service()-> 134 extensions::ExtensionSystem::Get(profile)->extension_service()->
135 extension_prefs()->app_sorting(); 135 extension_prefs()->app_sorting();
136 std::string id = item->id(); 136 std::string id = item->id();
137 VLOG(1) 137 VLOG(1)
138 << "Item(" << i << "): " << item->ToDebugString() 138 << "Item(" << i << "): " << item->ToDebugString()
139 << " Page: " << s->GetPageOrdinal(id).ToDebugString().substr(0, 8) 139 << " Page: " << s->GetPageOrdinal(id).ToDebugString().substr(0, 8)
140 << " Item: " << s->GetAppLaunchOrdinal(id).ToDebugString().substr(0, 8); 140 << " Item: " << s->GetAppLaunchOrdinal(id).ToDebugString().substr(0, 8);
141 } 141 }
142 } 142 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698