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); |
}; |