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

Unified Diff: content/browser/speech/speech_recognition_manager_impl.h

Issue 636863003: Make SpeechRecognition per RenderFrame instead of per RenderView. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes threading issues Created 6 years, 1 month 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: content/browser/speech/speech_recognition_manager_impl.h
diff --git a/content/browser/speech/speech_recognition_manager_impl.h b/content/browser/speech/speech_recognition_manager_impl.h
index 9b8da39fc47af4cb977ede096ff2d963f2ccc8d3..424924cfed93ce7aa5d0b6152f458a9e90f230f6 100644
--- a/content/browser/speech/speech_recognition_manager_impl.h
+++ b/content/browser/speech/speech_recognition_manager_impl.h
@@ -61,16 +61,15 @@ class CONTENT_EXPORT SpeechRecognitionManagerImpl :
int CreateSession(const SpeechRecognitionSessionConfig& config) override;
void StartSession(int session_id) override;
void AbortSession(int session_id) override;
- void AbortAllSessionsForRenderProcess(int render_process_id) override;
- void AbortAllSessionsForRenderView(int render_process_id,
- int render_view_id) override;
+ void AbortAllSessionsForRenderFrame(int render_process_id,
+ int render_frame_id) override;
void StopAudioCaptureForSession(int session_id) override;
const SpeechRecognitionSessionConfig& GetSessionConfig(
int session_id) const override;
SpeechRecognitionSessionContext GetSessionContext(
int session_id) const override;
int GetSession(int render_process_id,
- int render_view_id,
+ int render_frame_id,
int request_id) const override;
bool HasAudioInputDevices() override;
base::string16 GetAudioInputDeviceModel() override;

Powered by Google App Engine
This is Rietveld 408576698