summaryrefslogtreecommitdiff
path: root/chromium/media/mojo/services/mojo_video_decoder_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/mojo/services/mojo_video_decoder_service.h')
-rw-r--r--chromium/media/mojo/services/mojo_video_decoder_service.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/chromium/media/mojo/services/mojo_video_decoder_service.h b/chromium/media/mojo/services/mojo_video_decoder_service.h
index 45a1a5723ab..cc8897ca264 100644
--- a/chromium/media/mojo/services/mojo_video_decoder_service.h
+++ b/chromium/media/mojo/services/mojo_video_decoder_service.h
@@ -41,13 +41,17 @@ class MEDIA_MOJO_EXPORT MojoVideoDecoderService final
explicit MojoVideoDecoderService(
MojoMediaClient* mojo_media_client,
MojoCdmServiceContext* mojo_cdm_service_context);
+
+ MojoVideoDecoderService(const MojoVideoDecoderService&) = delete;
+ MojoVideoDecoderService& operator=(const MojoVideoDecoderService&) = delete;
+
~MojoVideoDecoderService() final;
// mojom::VideoDecoder implementation
void GetSupportedConfigs(GetSupportedConfigsCallback callback) final;
void Construct(
mojo::PendingAssociatedRemote<mojom::VideoDecoderClient> client,
- mojo::PendingAssociatedRemote<mojom::MediaLog> media_log,
+ mojo::PendingRemote<mojom::MediaLog> media_log,
mojo::PendingReceiver<mojom::VideoFrameHandleReleaser>
video_frame_handle_receiver,
mojo::ScopedDataPipeConsumerHandle decoder_buffer_pipe,
@@ -86,6 +90,9 @@ class MEDIA_MOJO_EXPORT MojoVideoDecoderService final
bool restart_for_transitions,
ProvideOverlayInfoCB provide_overlay_info_cb);
+ void OnSupportedVideoDecoderConfigs(GetSupportedConfigsCallback callback,
+ SupportedVideoDecoderConfigs configs);
+
// Whether this instance is active (Decode() was called at least once).
bool is_active_instance_ = false;
@@ -126,8 +133,6 @@ class MEDIA_MOJO_EXPORT MojoVideoDecoderService final
base::WeakPtr<MojoVideoDecoderService> weak_this_;
base::WeakPtrFactory<MojoVideoDecoderService> weak_factory_{this};
-
- DISALLOW_COPY_AND_ASSIGN(MojoVideoDecoderService);
};
} // namespace media