Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2453)

Unified Diff: chrome/browser/speech/extension_api/tts_engine_extension_api.h

Issue 448033002: Eliminate the dependency of Profile from TtsMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..2fb36f15bfe6ff606b06667caa826ff870555eea 100644
--- a/chrome/browser/speech/extension_api/tts_engine_extension_api.h
+++ b/chrome/browser/speech/extension_api/tts_engine_extension_api.h
@@ -12,6 +12,7 @@
#include "extensions/browser/extension_function.h"
class Utterance;
+class Profile;
namespace base {
class ListValue;
@@ -41,6 +42,7 @@ class TtsExtensionEngine : public TtsEngineDelegate {
virtual void Pause(Utterance* utterance) OVERRIDE;
virtual void Resume(Utterance* utterance) OVERRIDE;
virtual bool LoadBuiltInTtsExtension(Profile* profile) OVERRIDE;
+ virtual Profile* GetProfile(int render_process_id) OVERRIDE;
};
// Hidden/internal extension function used to allow TTS engine extensions

Powered by Google App Engine
This is Rietveld 408576698