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

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

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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
« no previous file with comments | « media/mojo/services/default_mojo_media_client.h ('k') | media/mojo/services/main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/default_mojo_media_client.h" 5 #include "media/mojo/services/default_mojo_media_client.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "base/threading/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 std::unique_ptr<RendererFactory> DefaultMojoMediaClient::CreateRendererFactory( 65 std::unique_ptr<RendererFactory> DefaultMojoMediaClient::CreateRendererFactory(
66 const scoped_refptr<MediaLog>& media_log) { 66 const scoped_refptr<MediaLog>& media_log) {
67 return base::MakeUnique<DefaultRendererFactory>( 67 return base::MakeUnique<DefaultRendererFactory>(
68 std::move(media_log), nullptr, 68 std::move(media_log), nullptr,
69 DefaultRendererFactory::GetGpuFactoriesCB()); 69 DefaultRendererFactory::GetGpuFactoriesCB());
70 } 70 }
71 71
72 std::unique_ptr<CdmFactory> DefaultMojoMediaClient::CreateCdmFactory( 72 std::unique_ptr<CdmFactory> DefaultMojoMediaClient::CreateCdmFactory(
73 shell::mojom::InterfaceProvider* /* interface_provider */) { 73 service_manager::mojom::InterfaceProvider* /* interface_provider */) {
74 DVLOG(1) << __FUNCTION__; 74 DVLOG(1) << __FUNCTION__;
75 return base::MakeUnique<DefaultCdmFactory>(); 75 return base::MakeUnique<DefaultCdmFactory>();
76 } 76 }
77 77
78 } // namespace media 78 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/default_mojo_media_client.h ('k') | media/mojo/services/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698