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

Unified Diff: content/browser/media/media_interface_proxy.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (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
Index: content/browser/media/media_interface_proxy.cc
diff --git a/content/browser/media/media_interface_proxy.cc b/content/browser/media/media_interface_proxy.cc
index 79f99dcba17f852a37ee8bb7780d4b741738d018..80e27b13174bbc77232d857965140676834d1a0b 100644
--- a/content/browser/media/media_interface_proxy.cc
+++ b/content/browser/media/media_interface_proxy.cc
@@ -115,7 +115,7 @@ void MediaInterfaceProxy::ConnectToService() {
// TODO(xhwang): Replace this InterfaceProvider with a dedicated media host
// interface. See http://crbug.com/660573
service_manager::mojom::InterfaceProviderPtr interfaces;
- registry->Bind(GetProxy(&interfaces), service_manager::Identity(),
+ registry->Bind(MakeRequest(&interfaces), service_manager::Identity(),
service_manager::InterfaceProviderSpec(),
service_manager::Identity(),
service_manager::InterfaceProviderSpec());
@@ -126,7 +126,7 @@ void MediaInterfaceProxy::ConnectToService() {
service_manager::Connector* connector =
ServiceManagerConnection::GetForProcess()->GetConnector();
connector->ConnectToInterface("media", &media_service);
- media_service->CreateInterfaceFactory(GetProxy(&interface_factory_ptr_),
+ media_service->CreateInterfaceFactory(MakeRequest(&interface_factory_ptr_),
std::move(interfaces));
interface_factory_ptr_.set_connection_error_handler(base::Bind(
&MediaInterfaceProxy::OnConnectionError, base::Unretained(this)));
« no previous file with comments | « content/browser/loader/url_loader_factory_impl_unittest.cc ('k') | content/browser/memory/memory_coordinator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698