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

Unified Diff: media/mojo/services/test_mojo_media_client.cc

Issue 2544523002: Pass Connector* into MojoMediaClient::Initialize(). (Closed)
Patch Set: Rebase Created 4 years 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/services/test_mojo_media_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/test_mojo_media_client.cc
diff --git a/media/mojo/services/test_mojo_media_client.cc b/media/mojo/services/test_mojo_media_client.cc
index d87f8447ea6e7ba0279de8b49d2f47bf326a8cf8..fee57e4ee30cbb2578ba9dd1792cac0074d97322 100644
--- a/media/mojo/services/test_mojo_media_client.cc
+++ b/media/mojo/services/test_mojo_media_client.cc
@@ -33,7 +33,8 @@ TestMojoMediaClient::~TestMojoMediaClient() {
base::RunLoop().RunUntilIdle();
}
-void TestMojoMediaClient::Initialize() {
+void TestMojoMediaClient::Initialize(
+ service_manager::Connector* /* connector */) {
InitializeMediaLibrary();
// TODO(dalecurtis): We should find a single owner per process for the audio
// manager or make it a lazy instance. It's not safe to call Get()/Create()
@@ -68,7 +69,7 @@ std::unique_ptr<RendererFactory> TestMojoMediaClient::CreateRendererFactory(
}
std::unique_ptr<CdmFactory> TestMojoMediaClient::CreateCdmFactory(
- service_manager::mojom::InterfaceProvider* /* interface_provider */) {
+ service_manager::mojom::InterfaceProvider* /* host_interfaces */) {
DVLOG(1) << __func__;
return base::MakeUnique<DefaultCdmFactory>();
}
« no previous file with comments | « media/mojo/services/test_mojo_media_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698