| Index: media/base/renderer.h
|
| diff --git a/media/base/renderer.h b/media/base/renderer.h
|
| index 75372fba3a1559e39b1aaaab046cc09c1fa7982e..c6038c20368a578b64ecbf715d906b46c3848a36 100644
|
| --- a/media/base/renderer.h
|
| +++ b/media/base/renderer.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef MEDIA_BASE_RENDERER_H_
|
| #define MEDIA_BASE_RENDERER_H_
|
|
|
| +#include <string>
|
| +
|
| #include "base/callback.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/time/time.h"
|
| @@ -12,6 +14,7 @@
|
| #include "media/base/cdm_context.h"
|
| #include "media/base/media_export.h"
|
| #include "media/base/pipeline_status.h"
|
| +#include "url/gurl.h"
|
|
|
| namespace media {
|
|
|
| @@ -70,6 +73,12 @@ class MEDIA_EXPORT Renderer {
|
| // Sets the output volume. The default volume should be 1.
|
| virtual void SetVolume(float volume) = 0;
|
|
|
| + // Switches the audio output device
|
| + virtual void SwitchAudioOutputDevice(
|
| + const std::string& device_id,
|
| + const GURL& security_origin,
|
| + const base::Callback<void(int)>& callback) = 0;
|
| +
|
| // Returns the current media time.
|
| virtual base::TimeDelta GetMediaTime() = 0;
|
|
|
|
|