| Index: components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h
|
| diff --git a/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h b/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h
|
| index ca005c287089ba83985465b99d60edb71c55a132..93ecd354b0275af5dd04e37662417a827fc42158 100644
|
| --- a/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h
|
| +++ b/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h
|
| @@ -130,7 +130,7 @@ class KEYED_SERVICE_EXPORT RefcountedBrowserContextKeyedServiceFactory
|
| friend class BrowserContextDependencyManagerUnittests;
|
|
|
| // Registers any user preferences on this service. This is called by
|
| - // RegisterProfilePrefsIfNecessary() and should be overriden by any service
|
| + // RegisterPrefsIfNecessaryForContext() and should be overriden by any service
|
| // that wants to register profile-specific preferences.
|
| virtual void RegisterProfilePrefs(
|
| user_prefs::PrefRegistrySyncable* registry) {}
|
| @@ -141,8 +141,10 @@ class KEYED_SERVICE_EXPORT RefcountedBrowserContextKeyedServiceFactory
|
| bool IsOffTheRecord(base::SupportsUserData* context) const final;
|
|
|
| // KeyedServiceBaseFactory:
|
| - user_prefs::PrefRegistrySyncable* GetAssociatedPrefRegistry(
|
| - base::SupportsUserData* context) const final;
|
| + base::SupportsUserData* GetUnderlyingContextInternal(
|
| + base::SupportsUserData* context) const override;
|
| + base::SupportsUserData* GetOriginalContextInternal(
|
| + base::SupportsUserData* context) const override;
|
| base::SupportsUserData* GetContextToUse(
|
| base::SupportsUserData* context) const final;
|
| bool ServiceIsCreatedWithContext() const final;
|
|
|