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

Side by Side Diff: media/mojo/services/test_mojo_media_client.cc

Issue 1899363002: Finish plumbing MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/mojo/services/test_mojo_media_client.h" 5 #include "media/mojo/services/test_mojo_media_client.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/thread_task_runner_handle.h"
10 #include "media/audio/audio_manager_base.h" 10 #include "media/audio/audio_manager_base.h"
11 #include "media/audio/audio_output_stream_sink.h" 11 #include "media/audio/audio_output_stream_sink.h"
12 #include "media/base/audio_hardware_config.h" 12 #include "media/base/audio_hardware_config.h"
13 #include "media/base/cdm_factory.h"
13 #include "media/base/media.h" 14 #include "media/base/media.h"
14 #include "media/base/null_video_sink.h" 15 #include "media/base/null_video_sink.h"
16 #include "media/base/renderer_factory.h"
15 #include "media/cdm/default_cdm_factory.h" 17 #include "media/cdm/default_cdm_factory.h"
16 #include "media/renderers/default_renderer_factory.h" 18 #include "media/renderers/default_renderer_factory.h"
17 #include "media/renderers/gpu_video_accelerator_factories.h" 19 #include "media/renderers/gpu_video_accelerator_factories.h"
18 20
19 namespace media { 21 namespace media {
20 22
21 TestMojoMediaClient::TestMojoMediaClient() {} 23 TestMojoMediaClient::TestMojoMediaClient() {}
22 24
23 TestMojoMediaClient::~TestMojoMediaClient() {} 25 TestMojoMediaClient::~TestMojoMediaClient() {}
24 26
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 return video_renderer_sink_.get(); 79 return video_renderer_sink_.get();
78 } 80 }
79 81
80 std::unique_ptr<CdmFactory> TestMojoMediaClient::CreateCdmFactory( 82 std::unique_ptr<CdmFactory> TestMojoMediaClient::CreateCdmFactory(
81 shell::mojom::InterfaceProvider* /* interface_provider */) { 83 shell::mojom::InterfaceProvider* /* interface_provider */) {
82 DVLOG(1) << __FUNCTION__; 84 DVLOG(1) << __FUNCTION__;
83 return base::WrapUnique(new DefaultCdmFactory()); 85 return base::WrapUnique(new DefaultCdmFactory());
84 } 86 }
85 87
86 } // namespace media 88 } // namespace media
OLDNEW
« media/mojo/services/service_factory_impl.h ('K') | « media/mojo/services/service_factory_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698