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

Unified Diff: components/audio_modem/audio_recorder_impl.h

Issue 1901583005: Revert of Pass task runners to AudioManager constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « components/audio_modem/audio_player_unittest.cc ('k') | components/audio_modem/audio_recorder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/audio_modem/audio_recorder_impl.h
diff --git a/components/audio_modem/audio_recorder_impl.h b/components/audio_modem/audio_recorder_impl.h
index b0f5486c2c78b82a07a138d642d14618341f35ad..cce75fb2067ebf5eee9c9691bbc95555b687253e 100644
--- a/components/audio_modem/audio_recorder_impl.h
+++ b/components/audio_modem/audio_recorder_impl.h
@@ -79,6 +79,10 @@
double volume) override;
void OnError(media::AudioInputStream* stream) override;
+ // Flushes the audio loop, making sure that any queued operations are
+ // performed.
+ void FlushAudioLoopForTesting();
+
bool is_recording_;
media::AudioInputStream* stream_;
« no previous file with comments | « components/audio_modem/audio_player_unittest.cc ('k') | components/audio_modem/audio_recorder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698