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. |