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

Unified Diff: chrome/browser/ui/app_list/app_list_syncable_service_factory.cc

Issue 118463002: Sync removal of Default apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/ui/app_list/app_list_syncable_service_factory.cc
diff --git a/chrome/browser/ui/app_list/app_list_syncable_service_factory.cc b/chrome/browser/ui/app_list/app_list_syncable_service_factory.cc
index 616bd0cfc1801f3bd045b675e4b7ab70c68840ad..98f49b1a764c978d53a3fdbec62e2b447def167e 100644
--- a/chrome/browser/ui/app_list/app_list_syncable_service_factory.cc
+++ b/chrome/browser/ui/app_list/app_list_syncable_service_factory.cc
@@ -40,9 +40,7 @@ BrowserContextKeyedService*
AppListSyncableServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* browser_context) const {
Profile* profile = static_cast<Profile*>(browser_context);
- ExtensionService* extension_service =
- extensions::ExtensionSystem::Get(profile)->extension_service();
- return new AppListSyncableService(profile, extension_service);
+ return new AppListSyncableService(profile);
tapted 2013/12/19 01:20:57 Is there a secondary reason for this change, apart
stevenjb 2013/12/19 01:48:44 Hmm, I guess that's a fair point. I did this so th
tapted 2013/12/19 02:18:02 Hm. Caching the extension service data member/cach
}
void AppListSyncableServiceFactory::RegisterProfilePrefs(

Powered by Google App Engine
This is Rietveld 408576698