Index: chrome/browser/speech/tts_chromeos.cc |
diff --git a/chrome/browser/speech/tts_chromeos.cc b/chrome/browser/speech/tts_chromeos.cc |
index 1e7419512c0de85e8bdc9d06fb4145efd2ceecff..7053fe9785e7bfcdcb7f78961d3aa99fb07ad0c3 100644 |
--- a/chrome/browser/speech/tts_chromeos.cc |
+++ b/chrome/browser/speech/tts_chromeos.cc |
@@ -9,8 +9,6 @@ |
// an implementation of LoadBuiltInTtsExtension and dummy implementations of |
// everything else. |
-class Profile; |
- |
class TtsPlatformImplChromeOs : public TtsPlatformImpl { |
public: |
// TtsPlatformImpl overrides: |
@@ -18,11 +16,12 @@ class TtsPlatformImplChromeOs : public TtsPlatformImpl { |
return false; |
} |
- virtual bool LoadBuiltInTtsExtension(Profile* profile) OVERRIDE { |
+ virtual bool LoadBuiltInTtsExtension( |
+ BrowserContext* browser_context) OVERRIDE { |
TtsEngineDelegate* tts_engine_delegate = |
TtsController::GetInstance()->GetTtsEngineDelegate(); |
if (tts_engine_delegate) |
- return tts_engine_delegate->LoadBuiltInTtsExtension(profile); |
+ return tts_engine_delegate->LoadBuiltInTtsExtension(browser_context); |
return false; |
} |