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

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

Issue 2544113002: Example MojoVideoDecoder decoder using the command buffer.
Patch Set: Created 4 years 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/media_service_factory.cc ('k') | media/mojo/services/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/mojo_media_client.h
diff --git a/media/mojo/services/mojo_media_client.h b/media/mojo/services/mojo_media_client.h
index c6020662013bf40fa2b02c12d4854d299b32c934..fd40627307be4be2e2c137e73e94c20685665448 100644
--- a/media/mojo/services/mojo_media_client.h
+++ b/media/mojo/services/mojo_media_client.h
@@ -6,9 +6,13 @@
#define MEDIA_MOJO_SERVICES_MOJO_MEDIA_CLIENT_H_
#include <memory>
+#include <stdint.h>
#include <string>
#include "base/memory/ref_counted.h"
+#include "base/optional.h"
+#include "base/unguessable_token.h"
+#include "media/mojo/interfaces/video_decoder.mojom.h"
#include "media/mojo/services/media_mojo_export.h"
namespace base {
@@ -45,7 +49,8 @@ class MEDIA_MOJO_EXPORT MojoMediaClient {
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
virtual std::unique_ptr<VideoDecoder> CreateVideoDecoder(
- scoped_refptr<base::SingleThreadTaskRunner> task_runner);
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner,
+ mojom::CommandBufferIdPtr command_buffer_id);
// Returns the output sink used for rendering audio on |audio_device_id|.
// May be null if the RendererFactory doesn't need an audio sink.
« no previous file with comments | « media/mojo/services/media_service_factory.cc ('k') | media/mojo/services/mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698