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

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

Issue 2941773002: Added initial muted state to stream creation callback, to avoid races. (Closed)
Patch Set: Added mute information to DoCompleteCreation log message. Created 3 years, 6 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: content/browser/speech/speech_recognizer_impl.h
diff --git a/content/browser/speech/speech_recognizer_impl.h b/content/browser/speech/speech_recognizer_impl.h
index 4c30dad6d96e269b0908d7e58d00302e0f513f19..711b501edf5b2e287253d733ef682c6b76067d8f 100644
--- a/content/browser/speech/speech_recognizer_impl.h
+++ b/content/browser/speech/speech_recognizer_impl.h
@@ -143,7 +143,8 @@ class CONTENT_EXPORT SpeechRecognizerImpl
void OnAudioClosed(media::AudioInputController*);
// AudioInputController::EventHandler methods.
- void OnCreated(media::AudioInputController* controller) override {}
+ void OnCreated(media::AudioInputController* controller,
+ bool initially_muted) override {}
void OnError(media::AudioInputController* controller,
media::AudioInputController::ErrorCode error_code) override;
void OnLog(media::AudioInputController* controller,
« no previous file with comments | « content/browser/renderer_host/media/audio_input_renderer_host_unittest.cc ('k') | content/common/media/audio_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698