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

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

Issue 1323403005: Allow AudioOutputDevice objects to be initialized with a specific hardware output device and store … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Palmer's comments Created 5 years, 3 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: 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 ea84b64964aa88a7849a1796be0f9d1660bc94f5..ddbf78c6e5ebf884246ac4acdaad949152a665b6 100644
--- a/content/renderer/media/audio_message_filter.h
+++ b/content/renderer/media/audio_message_filter.h
@@ -66,6 +66,12 @@ class CONTENT_EXPORT AudioMessageFilter : public IPC::MessageFilter {
void OnFilterRemoved() override;
void OnChannelClosing() override;
+ // Received when the browser process has checked authorization to use an
+ // audio output device.
+ void OnDeviceAuthorized(int stream_id,
+ bool success,
+ const media::AudioParameters& output_params);
+
// Received when browser process has created an audio output stream.
void OnStreamCreated(int stream_id, base::SharedMemoryHandle handle,
base::SyncSocket::TransitDescriptor socket_descriptor,
@@ -79,10 +85,9 @@ class CONTENT_EXPORT AudioMessageFilter : public IPC::MessageFilter {
// 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 for Send(); must only be accessed on |io_task_runner_|.
IPC::Sender* sender_;
// A map of stream ids to delegates; must only be accessed on

Powered by Google App Engine
This is Rietveld 408576698