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

Unified Diff: content/public/test/fake_speech_recognition_manager.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/public/test/fake_speech_recognition_manager.h
diff --git a/content/public/test/fake_speech_recognition_manager.h b/content/public/test/fake_speech_recognition_manager.h
index 513da504de3ae41294100fe8d66dee5954e49e8a..b5087cba00d1db09bcddb6edb2b9b0b85304b93b 100644
--- a/content/public/test/fake_speech_recognition_manager.h
+++ b/content/public/test/fake_speech_recognition_manager.h
@@ -46,14 +46,13 @@ class FakeSpeechRecognitionManager : public SpeechRecognitionManager {
void StartSession(int session_id) override;
void AbortSession(int session_id) override;
void StopAudioCaptureForSession(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;
bool HasAudioInputDevices() override;
base::string16 GetAudioInputDeviceModel() override;
void ShowAudioInputSettings() override {}
int GetSession(int render_process_id,
- int render_view_id,
+ int render_frame_id,
int request_id) const override;
const SpeechRecognitionSessionConfig& GetSessionConfig(
int session_id) const override;

Powered by Google App Engine
This is Rietveld 408576698