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

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

Issue 217483004: Create AppListSyncableService with BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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/ui/app_list/app_list_syncable_service_factory.h
diff --git a/chrome/browser/ui/app_list/app_list_syncable_service_factory.h b/chrome/browser/ui/app_list/app_list_syncable_service_factory.h
index e26c714b035a85cd8a6ae22e1efeaf5834778284..5781745e5c554c179add36e6440d646335f4ae29 100644
--- a/chrome/browser/ui/app_list/app_list_syncable_service_factory.h
+++ b/chrome/browser/ui/app_list/app_list_syncable_service_factory.h
@@ -24,6 +24,9 @@ class AppListSyncableServiceFactory : public BrowserContextKeyedServiceFactory {
static AppListSyncableServiceFactory* GetInstance();
+ static KeyedService* BuildInstanceFor(
+ content::BrowserContext* browser_context);
+
private:
friend struct DefaultSingletonTraits<AppListSyncableServiceFactory>;
@@ -37,6 +40,8 @@ class AppListSyncableServiceFactory : public BrowserContextKeyedServiceFactory {
user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;
+ virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
+ virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(AppListSyncableServiceFactory);
};

Powered by Google App Engine
This is Rietveld 408576698