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 5182971d86f9936b193091644ee30f3f4cad2e61..edefea4fce819b98d0833bbbc7b099523576f38a 100644 |
--- a/content/browser/mojo/mojo_app_connection_impl.cc |
+++ b/content/browser/mojo/mojo_app_connection_impl.cc |
@@ -21,17 +21,19 @@ void OnGotInstanceID(mojo::shell::mojom::ConnectResult result, |
// static |
scoped_ptr<MojoAppConnection> MojoAppConnection::Create( |
+ const std::string& user_id, |
const std::string& name, |
const std::string& requestor_name) { |
return scoped_ptr<MojoAppConnection>( |
- new MojoAppConnectionImpl(name, requestor_name)); |
+ new MojoAppConnectionImpl(user_id, name, requestor_name)); |
} |
MojoAppConnectionImpl::MojoAppConnectionImpl( |
+ const std::string& user_id, |
const std::string& name, |
const std::string& requestor_name) { |
MojoShellContext::ConnectToApplication( |
- name, requestor_name, mojo::GetProxy(&interfaces_), |
+ user_id, name, requestor_name, mojo::GetProxy(&interfaces_), |
mojo::shell::mojom::InterfaceProviderPtr(), |
base::Bind(&OnGotInstanceID)); |
} |