Index: content/browser/mojo/mojo_app_connection_impl.cc |
diff --git a/content/browser/mojo/mojo_app_connection_impl.cc b/content/browser/mojo/mojo_app_connection_impl.cc |
index 083a1f9c80a215f2db60dc3fead67362514f2ba2..196261b1c2852b3bdc285b770c66814e01471a36 100644 |
--- a/content/browser/mojo/mojo_app_connection_impl.cc |
+++ b/content/browser/mojo/mojo_app_connection_impl.cc |
@@ -21,16 +21,17 @@ void OnGotInstanceID(uint32_t remote_id) {} |
// static |
scoped_ptr<MojoAppConnection> MojoAppConnection::Create( |
- const GURL& url, |
- const GURL& requestor_url) { |
+ const std::string& name, |
+ const std::string& requestor_name) { |
return scoped_ptr<MojoAppConnection>( |
- new MojoAppConnectionImpl(url, requestor_url)); |
+ new MojoAppConnectionImpl(name, requestor_name)); |
} |
-MojoAppConnectionImpl::MojoAppConnectionImpl(const GURL& url, |
- const GURL& requestor_url) { |
+MojoAppConnectionImpl::MojoAppConnectionImpl( |
+ const std::string& name, |
+ const std::string& requestor_name) { |
MojoShellContext::ConnectToApplication( |
- url, requestor_url, mojo::GetProxy(&interfaces_), |
+ name, requestor_name, mojo::GetProxy(&interfaces_), |
mojo::shell::mojom::InterfaceProviderPtr(), |
base::Bind(&OnGotInstanceID)); |
} |