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

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

Issue 2544523002: Pass Connector* into MojoMediaClient::Initialize(). (Closed)
Patch Set: frame_interfaces renamed as host_interfaces, xhwang@ nits addressed 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
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 f7eff2b05c131d0f6a4d03779fc1100291d63f01..b1fb5553da4ebfdacb6a9fe38fb958cffa2c56b2 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) << __FUNCTION__;
return base::MakeUnique<DefaultCdmFactory>();
}

Powered by Google App Engine
This is Rietveld 408576698