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

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

Issue 1899363002: Finish plumbing MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: media/mojo/services/mojo_media_client.h
diff --git a/media/mojo/services/mojo_media_client.h b/media/mojo/services/mojo_media_client.h
index d64c06cdd9cc0a44d8e01df7f405b008e4245c47..51650939c477084499e13a43677e09151c7c940d 100644
--- a/media/mojo/services/mojo_media_client.h
+++ b/media/mojo/services/mojo_media_client.h
@@ -7,12 +7,7 @@
#include <memory>
-#include "media/base/audio_decoder.h"
-#include "media/base/audio_renderer_sink.h"
-#include "media/base/cdm_factory.h"
-#include "media/base/media_log.h"
-#include "media/base/renderer_factory.h"
-#include "media/base/video_renderer_sink.h"
+#include "base/memory/ref_counted.h"
xhwang 2016/04/20 21:09:27 nice: thanks!
namespace base {
class SingleThreadTaskRunner;
@@ -26,6 +21,14 @@ class InterfaceProvider;
namespace media {
+class AudioDecoder;
+class AudioRendererSink;
+class CdmFactory;
+class MediaLog;
+class RendererFactory;
+class VideoDecoder;
+class VideoRendererSink;
+
class MojoMediaClient {
public:
virtual ~MojoMediaClient();
@@ -40,6 +43,8 @@ class MojoMediaClient {
virtual std::unique_ptr<AudioDecoder> CreateAudioDecoder(
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
+ virtual std::unique_ptr<VideoDecoder> CreateVideoDecoder();
+
// TODO(xhwang): Consider creating Renderer and CDM directly in the client
// instead of creating factories. See http://crbug.com/586211

Powered by Google App Engine
This is Rietveld 408576698