| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index 45056271e932b9d16b6688343186fa795018367e..660c543a88bfa48b2b706ba817afea0a04a0bf28 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -25,7 +25,6 @@
|
| #include "content/public/common/service_info.h"
|
| #include "content/public/common/socket_permission_request.h"
|
| #include "content/public/common/window_container_type.mojom.h"
|
| -#include "media/audio/audio_manager.h"
|
| #include "media/media_features.h"
|
| #include "media/mojo/interfaces/remoting.mojom.h"
|
| #include "net/base/mime_util.h"
|
| @@ -62,6 +61,8 @@ class GpuChannelEstablishFactory;
|
| }
|
|
|
| namespace media {
|
| +class AudioLogFactory;
|
| +class AudioManager;
|
| class CdmFactory;
|
| }
|
|
|
| @@ -770,7 +771,9 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| // Allows the embedder to provide its own AudioManager implementation.
|
| // If this function returns nullptr, a default platform implementation
|
| // will be used.
|
| - virtual media::ScopedAudioManagerPtr CreateAudioManager(
|
| + virtual std::unique_ptr<media::AudioManager> CreateAudioManager(
|
| + scoped_refptr<base::SingleThreadTaskRunner> task_runner,
|
| + scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner,
|
| media::AudioLogFactory* audio_log_factory);
|
| // Creates and returns a factory used for creating CDM instances for playing
|
| // protected content.
|
|
|