Chromium Code Reviews| Index: chrome/browser/speech/extension_api/tts_engine_extension_api.h |
| diff --git a/chrome/browser/speech/extension_api/tts_engine_extension_api.h b/chrome/browser/speech/extension_api/tts_engine_extension_api.h |
| index 4d9310cf1d24a8b3aebd2104078f6a374fe3f420..0cf6b382bad9b7edfaf083563f933b452f2ea301 100644 |
| --- a/chrome/browser/speech/extension_api/tts_engine_extension_api.h |
| +++ b/chrome/browser/speech/extension_api/tts_engine_extension_api.h |
| @@ -17,6 +17,10 @@ namespace base { |
| class ListValue; |
| } |
| +namespace content { |
| +class BrowserContext; |
| +} |
| + |
| namespace extensions { |
| class Extension; |
| } |
| @@ -34,15 +38,15 @@ class TtsExtensionEngine : public TtsEngineDelegate { |
| static TtsExtensionEngine* GetInstance(); |
| // Overridden from TtsEngineDelegate: |
| - virtual void GetVoices(Profile* profile, |
| + virtual void GetVoices(content::BrowserContext* browser_context, |
| std::vector<VoiceData>* out_voices) OVERRIDE; |
| virtual void Speak(Utterance* utterance, const VoiceData& voice) OVERRIDE; |
| virtual void Stop(Utterance* utterance) OVERRIDE; |
| virtual void Pause(Utterance* utterance) OVERRIDE; |
| virtual void Resume(Utterance* utterance) OVERRIDE; |
| - virtual bool LoadBuiltInTtsExtension(Profile* profile) OVERRIDE; |
| + virtual bool LoadBuiltInTtsExtension( |
| + content::BrowserContext* browser_context) OVERRIDE; |
|
dmazzoni
2014/08/12 06:21:08
nit: indentation should be 4 spaces from beginning
|
| }; |
| - |
| // Hidden/internal extension function used to allow TTS engine extensions |
| // to send events back to the client that's calling tts.speak(). |
| class ExtensionTtsEngineSendTtsEventFunction : public SyncExtensionFunction { |