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

Unified Diff: components/audio_modem/audio_player_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/BUILD.gn ('k') | components/audio_modem/audio_player_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/audio_modem/audio_player_impl.h
diff --git a/components/audio_modem/audio_player_impl.h b/components/audio_modem/audio_player_impl.h
index 50f10bf98874eefec319033a774a82ba2f951926..7ea518b84e387de4a14f5d4261d0de11bda197b5 100644
--- a/components/audio_modem/audio_player_impl.h
+++ b/components/audio_modem/audio_player_impl.h
@@ -65,6 +65,10 @@
uint32_t frames_skipped) override;
void OnError(media::AudioOutputStream* stream) override;
+ // Flushes the audio loop, making sure that any queued operations are
+ // performed.
+ void FlushAudioLoopForTesting();
+
bool is_playing_;
// Self-deleting object.
« no previous file with comments | « components/audio_modem/BUILD.gn ('k') | components/audio_modem/audio_player_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698