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

Unified Diff: media/mojo/services/default_mojo_media_client.h

Issue 2299703005: Rename TestMojoMediaClient -> DefaultMojoMediaClient. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « media/mojo/services/BUILD.gn ('k') | media/mojo/services/default_mojo_media_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/default_mojo_media_client.h
diff --git a/media/mojo/services/default_mojo_media_client.h b/media/mojo/services/default_mojo_media_client.h
index d9a491d612893ce816c81293b94e05e62af97aa4..1c26ea87ce29a7aa69aeaa38d950c63ebde9fe5e 100644
--- a/media/mojo/services/default_mojo_media_client.h
+++ b/media/mojo/services/default_mojo_media_client.h
@@ -8,10 +8,21 @@
#include <memory>
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
+#include "media/audio/audio_manager.h"
#include "media/mojo/services/mojo_media_client.h"
+namespace base {
+class SingleThreadTaskRunner;
+}
+
namespace media {
+class AudioRendererSink;
+class MediaLog;
+class RendererFactory;
+class VideoRendererSink;
+
// Default MojoMediaClient for MojoMediaApplication.
class DefaultMojoMediaClient : public MojoMediaClient {
public:
@@ -20,10 +31,18 @@ class DefaultMojoMediaClient : public MojoMediaClient {
// MojoMediaClient implementation.
void Initialize() final;
+ scoped_refptr<AudioRendererSink> CreateAudioRendererSink(
+ const std::string& audio_device_id) final;
+ std::unique_ptr<VideoRendererSink> CreateVideoRendererSink(
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) final;
+ std::unique_ptr<RendererFactory> CreateRendererFactory(
+ const scoped_refptr<MediaLog>& media_log) final;
std::unique_ptr<CdmFactory> CreateCdmFactory(
shell::mojom::InterfaceProvider* /* interface_provider */) final;
private:
+ ScopedAudioManagerPtr audio_manager_;
+
DISALLOW_COPY_AND_ASSIGN(DefaultMojoMediaClient);
};
« no previous file with comments | « media/mojo/services/BUILD.gn ('k') | media/mojo/services/default_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698