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

Unified Diff: media/audio/audio_manager.h

Issue 2929823002: Making AudioManagerBase::ShutdownOnAudioThread() platform-agnostic (Closed)
Patch Set: 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: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index f92651ed0627934de813316751d8b6158b7c66bb..0760916d6e8bb457a65f2132c7744f378806f9f6 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -193,7 +193,9 @@ class MEDIA_EXPORT AudioManager {
explicit AudioManager(std::unique_ptr<AudioThread> audio_thread);
- virtual void ShutdownOnAudioThread() = 0;
+ // Shuts down AudioManager on the audio thread; |immediately| is true if no
+ // other tasks scheduled after this call will be executed.
+ virtual void ShutdownOnAudioThread(bool immediately) = 0;
// Initializes output debug recording. Can be called on any thread; will post
// to the audio thread if not called on it.

Powered by Google App Engine
This is Rietveld 408576698