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

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

Issue 2871503002: Remove ScopedVector from audio/video renderer related code in media/ (Closed)
Patch Set: Address xhwang's comments and delete some useless includes Created 3 years, 7 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/filters/video_frame_stream_unittest.cc ('k') | media/mojo/clients/mojo_decoder_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_decoder_factory.h
diff --git a/media/mojo/clients/mojo_decoder_factory.h b/media/mojo/clients/mojo_decoder_factory.h
index c808dbc4565091e9e68fe79642011ccf6ce100fa..7cb0101d1a631b9e4c3f8fc975f688044e68c60a 100644
--- a/media/mojo/clients/mojo_decoder_factory.h
+++ b/media/mojo/clients/mojo_decoder_factory.h
@@ -19,12 +19,12 @@ class MojoDecoderFactory : public DecoderFactory {
void CreateAudioDecoders(
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
- ScopedVector<AudioDecoder>* audio_decoders) final;
+ std::vector<std::unique_ptr<AudioDecoder>>* audio_decoders) final;
void CreateVideoDecoders(
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
GpuVideoAcceleratorFactories* gpu_factories,
- ScopedVector<VideoDecoder>* video_decoders) final;
+ std::vector<std::unique_ptr<VideoDecoder>>* video_decoders) final;
private:
service_manager::mojom::InterfaceProvider* interface_provider_;
« no previous file with comments | « media/filters/video_frame_stream_unittest.cc ('k') | media/mojo/clients/mojo_decoder_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698