Index: media/mojo/services/mojo_video_decoder_service.h |
diff --git a/media/mojo/services/mojo_video_decoder_service.h b/media/mojo/services/mojo_video_decoder_service.h |
index ce824eee56c76b9293fb7244705deb671068eb4f..a35869d4b2879b699ed8a3a6792f86bc5a671bcc 100644 |
--- a/media/mojo/services/mojo_video_decoder_service.h |
+++ b/media/mojo/services/mojo_video_decoder_service.h |
@@ -9,9 +9,14 @@ |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
+#include "base/optional.h" |
nasko
2017/02/16 21:37:29
Where is base::optional used here? Do we really ne
sandersd (OOO until July 31)
2017/02/25 01:19:38
Done.
|
#include "media/base/decode_status.h" |
#include "media/mojo/interfaces/video_decoder.mojom.h" |
+namespace gpu { |
+struct SyncToken; |
+}; |
+ |
namespace media { |
class MojoDecoderBufferReader; |
@@ -36,6 +41,8 @@ class MojoVideoDecoderService : public mojom::VideoDecoder { |
void Decode(mojom::DecoderBufferPtr buffer, |
const DecodeCallback& callback) final; |
void Reset(const ResetCallback& callback) final; |
+ void OnReleaseMailbox(const base::UnguessableToken& release_token, |
+ const gpu::SyncToken& release_sync_token) final; |
private: |
// Helper methods so that we can bind them with a weak pointer to avoid |