| Index: chrome/browser/speech/tts_extension_loader_chromeos.cc
|
| diff --git a/chrome/browser/speech/tts_extension_loader_chromeos.cc b/chrome/browser/speech/tts_extension_loader_chromeos.cc
|
| index c454ec68a11aa61f4a594f3c295de61036a4a885..fc4406172b99f128d3d7d961d005f5db87aa64d4 100644
|
| --- a/chrome/browser/speech/tts_extension_loader_chromeos.cc
|
| +++ b/chrome/browser/speech/tts_extension_loader_chromeos.cc
|
| @@ -21,11 +21,11 @@
|
| #include "grit/browser_resources.h"
|
|
|
| // Factory to load one instance of TtsExtensionLoaderChromeOs per profile.
|
| -class TtsExtensionLoaderChromeOsFactory : public ProfileKeyedServiceFactory {
|
| +class TtsExtensionLoaderChromeOsFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| static TtsExtensionLoaderChromeOs* GetForProfile(Profile* profile) {
|
| return static_cast<TtsExtensionLoaderChromeOs*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| static TtsExtensionLoaderChromeOsFactory* GetInstance() {
|
| @@ -35,9 +35,9 @@ class TtsExtensionLoaderChromeOsFactory : public ProfileKeyedServiceFactory {
|
| private:
|
| friend struct DefaultSingletonTraits<TtsExtensionLoaderChromeOsFactory>;
|
|
|
| - TtsExtensionLoaderChromeOsFactory() : ProfileKeyedServiceFactory(
|
| + TtsExtensionLoaderChromeOsFactory() : BrowserContextKeyedServiceFactory(
|
| "TtsExtensionLoaderChromeOs",
|
| - ProfileDependencyManager::GetInstance())
|
| + BrowserContextDependencyManager::GetInstance())
|
| {}
|
|
|
| virtual ~TtsExtensionLoaderChromeOsFactory() {}
|
| @@ -49,7 +49,7 @@ class TtsExtensionLoaderChromeOsFactory : public ProfileKeyedServiceFactory {
|
| return chrome::GetBrowserContextRedirectedInIncognito(context);
|
| }
|
|
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE {
|
| return new TtsExtensionLoaderChromeOs(static_cast<Profile*>(profile));
|
| }
|
|
|