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

Unified Diff: content/renderer/media/audio_message_filter.h

Issue 1184473002: Add support for the audio-output-device switching IPC mechanism to the renderer lower layers (media… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build dependencies for audio_unittests Created 5 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
« no previous file with comments | « no previous file | content/renderer/media/audio_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_message_filter.h
diff --git a/content/renderer/media/audio_message_filter.h b/content/renderer/media/audio_message_filter.h
index f98b7d6983d54765b71bee03bd72fe16853d8828..ea84b64964aa88a7849a1796be0f9d1660bc94f5 100644
--- a/content/renderer/media/audio_message_filter.h
+++ b/content/renderer/media/audio_message_filter.h
@@ -76,6 +76,12 @@ class CONTENT_EXPORT AudioMessageFilter : public IPC::MessageFilter {
void OnStreamStateChanged(int stream_id,
media::AudioOutputIPCDelegateState state);
+ // Received when the browser process has finished processing a
+ // SwitchOutputDevice request
+ void OnOutputDeviceSwitched(int stream_id,
+ int request_id,
+ media::SwitchOutputDeviceResult result);
+
// IPC sender for Send(); must only be accesed on |io_task_runner_|.
IPC::Sender* sender_;
« no previous file with comments | « no previous file | content/renderer/media/audio_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698