| Index: media/audio/audio_output_ipc.h
|
| diff --git a/media/audio/audio_output_ipc.h b/media/audio/audio_output_ipc.h
|
| index 9af1df44efe8aa76992a7063b2422aff83328ddf..211550844648912eba43679478ef3e1bd21a2391 100644
|
| --- a/media/audio/audio_output_ipc.h
|
| +++ b/media/audio/audio_output_ipc.h
|
| @@ -57,6 +57,10 @@ class MEDIA_EXPORT AudioOutputIPCDelegate {
|
| base::SyncSocket::Handle socket_handle,
|
| int length) = 0;
|
|
|
| + // Called when an attempt to switch the output device has been completed
|
| + virtual void OnOutputDeviceSwitched(int request_id,
|
| + SwitchOutputDeviceResult result) = 0;
|
| +
|
| // Called when the AudioOutputIPC object is going away and/or when the IPC
|
| // channel has been closed and no more ipc requests can be made.
|
| // Implementations should delete their owned AudioOutputIPC instance
|
| @@ -99,6 +103,11 @@ class MEDIA_EXPORT AudioOutputIPC {
|
|
|
| // Sets the volume of the audio stream.
|
| virtual void SetVolume(double volume) = 0;
|
| +
|
| + // Switches the output device of the audio stream.
|
| + virtual void SwitchOutputDevice(const std::string& device_id,
|
| + const GURL& security_origin,
|
| + int request_id) = 0;
|
| };
|
|
|
| } // namespace media
|
|
|