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

Unified Diff: media/mojo/clients/mojo_decoder_factory.cc

Issue 2966643002: media: Plumb MediaLog to MojoVideoDecoderService. (Closed)
Patch Set: Swap client/service directory. Created 3 years, 5 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
« no previous file with comments | « media/mojo/clients/mojo_decoder_factory.h ('k') | media/mojo/clients/mojo_media_log_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_decoder_factory.cc
diff --git a/media/mojo/clients/mojo_decoder_factory.cc b/media/mojo/clients/mojo_decoder_factory.cc
index e187d48ee68298c3b72cd969f4b9fdc5384e2526..1a9e6e8ba53f259659d180a0532493e5477468cf 100644
--- a/media/mojo/clients/mojo_decoder_factory.cc
+++ b/media/mojo/clients/mojo_decoder_factory.cc
@@ -38,13 +38,14 @@ void MojoDecoderFactory::CreateAudioDecoders(
void MojoDecoderFactory::CreateVideoDecoders(
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
GpuVideoAcceleratorFactories* gpu_factories,
+ MediaLog* media_log,
std::vector<std::unique_ptr<VideoDecoder>>* video_decoders) {
#if BUILDFLAG(ENABLE_MOJO_VIDEO_DECODER)
mojom::VideoDecoderPtr remote_decoder;
service_manager::GetInterface<mojom::VideoDecoder>(interface_provider_,
&remote_decoder);
video_decoders->push_back(base::MakeUnique<MojoVideoDecoder>(
- task_runner, gpu_factories, std::move(remote_decoder)));
+ task_runner, gpu_factories, media_log, std::move(remote_decoder)));
#endif
}
« no previous file with comments | « media/mojo/clients/mojo_decoder_factory.h ('k') | media/mojo/clients/mojo_media_log_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698