| Index: components/keyed_service/content/browser_context_keyed_service_factory.h
|
| diff --git a/components/keyed_service/content/browser_context_keyed_service_factory.h b/components/keyed_service/content/browser_context_keyed_service_factory.h
|
| index 24c34673baa2c8f119fffff52b0798750c09ba7a..5543bbdc1791df80758554c925d505518312dd65 100644
|
| --- a/components/keyed_service/content/browser_context_keyed_service_factory.h
|
| +++ b/components/keyed_service/content/browser_context_keyed_service_factory.h
|
| @@ -40,7 +40,7 @@ class KEYED_SERVICE_EXPORT BrowserContextKeyedServiceFactory
|
| // A function that supplies the instance of a KeyedService for a given
|
| // BrowserContext. This is used primarily for testing, where we want to feed
|
| // a specific mock into the BCKSF system.
|
| - typedef KeyedService* (*TestingFactoryFunction)(
|
| + typedef scoped_ptr<KeyedService>(*TestingFactoryFunction)(
|
| content::BrowserContext* context);
|
|
|
| // Associates |factory| with |context| so that |factory| is used to create
|
| @@ -130,7 +130,7 @@ class KEYED_SERVICE_EXPORT BrowserContextKeyedServiceFactory
|
| user_prefs::PrefRegistrySyncable* registry) {}
|
|
|
| // KeyedServiceFactory:
|
| - KeyedService* BuildServiceInstanceFor(
|
| + scoped_ptr<KeyedService> BuildServiceInstanceFor(
|
| base::SupportsUserData* context) const final;
|
| bool IsOffTheRecord(base::SupportsUserData* context) const final;
|
|
|
|
|