| Index: chrome/browser/speech/extension_api/tts_extension_api.h
|
| diff --git a/chrome/browser/speech/extension_api/tts_extension_api.h b/chrome/browser/speech/extension_api/tts_extension_api.h
|
| index a8f3c192625ba655871d191d48e18f509c112789..4746e0952df9e5ea0ff1329d84ed86a4e5c6ce2e 100644
|
| --- a/chrome/browser/speech/extension_api/tts_extension_api.h
|
| +++ b/chrome/browser/speech/extension_api/tts_extension_api.h
|
| @@ -11,7 +11,9 @@
|
| #include "chrome/browser/extensions/chrome_extension_function.h"
|
| #include "chrome/browser/speech/tts_controller.h"
|
|
|
| -class Profile;
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
|
|
| const char *TtsEventTypeToString(TtsEventType event_type);
|
| TtsEventType TtsEventTypeFromString(const std::string& str);
|
| @@ -62,12 +64,9 @@ class TtsGetVoicesFunction : public ChromeSyncExtensionFunction {
|
|
|
| class TtsAPI : public ProfileKeyedAPI {
|
| public:
|
| - explicit TtsAPI(Profile* profile);
|
| + explicit TtsAPI(content::BrowserContext* context);
|
| virtual ~TtsAPI();
|
|
|
| - // Convenience method to get the TtsAPI for a profile.
|
| - static TtsAPI* Get(Profile* profile);
|
| -
|
| // ProfileKeyedAPI implementation.
|
| static ProfileKeyedAPIFactory<TtsAPI>* GetFactoryInstance();
|
|
|
|
|