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

Unified Diff: media/audio/audio_output_ipc.h

Issue 2821203005: Add a mojo implementation of AudioOutputIPC. (Closed)
Patch Set: Comments. SWITCH TO MACRO-BASED THREAD CHECKER. Created 3 years, 7 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_output_ipc.h
diff --git a/media/audio/audio_output_ipc.h b/media/audio/audio_output_ipc.h
index 403081bf0dc1f84ea206d9fa64c242657d536bd2..969d119f0d2b21049107530ce0308d6145b48813 100644
--- a/media/audio/audio_output_ipc.h
+++ b/media/audio/audio_output_ipc.h
@@ -97,7 +97,8 @@ class MEDIA_EXPORT AudioOutputIPC {
virtual void PauseStream() = 0;
// Closes the audio stream which should shut down the corresponding
- // AudioOutputController in the peer process.
+ // AudioOutputController in the peer process. Usage of an AudioOutputIPC must
+ // always end with a call to CloseStream(), unless it calls OnIPCClosed first.
virtual void CloseStream() = 0;
// Sets the volume of the audio stream.
« content/renderer/media/mojo_audio_output_ipc.cc ('K') | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698