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

Unified Diff: chrome/browser/speech/tts_controller.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/tts_controller.h
diff --git a/chrome/browser/speech/tts_controller.h b/chrome/browser/speech/tts_controller.h
index 441b05f7a511d84761c36b8221743f71ed0396f3..d7c4e03af1c6b1f087545c3901d41449f30ffbcb 100644
--- a/chrome/browser/speech/tts_controller.h
+++ b/chrome/browser/speech/tts_controller.h
@@ -101,6 +101,9 @@ class TtsEngineDelegate {
// Load the built-in component extension for ChromeOS.
virtual bool LoadBuiltInTtsExtension(Profile* profile) = 0;
+
+ // Return the profile associated with the renderer
dmazzoni 2014/08/11 07:23:09 Nit: end sentence with period.
+ virtual Profile* GetProfile(int render_process_id) = 0;
dmazzoni 2014/08/11 07:23:09 If you want to move TtsController to content, then
};
// Class that wants to receive events on utterances.

Powered by Google App Engine
This is Rietveld 408576698