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..b2941e2a5dc17cf8dfbded0d91c51a428f0e3f50 100644 |
--- a/content/browser/mojo/mojo_app_connection_impl.cc |
+++ b/content/browser/mojo/mojo_app_connection_impl.cc |
@@ -21,19 +21,20 @@ 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_), |
- mojo::shell::mojom::InterfaceProviderPtr(), |
- base::Bind(&OnGotInstanceID)); |
+ user_id, name, requestor_name, mojo::GetProxy(&interfaces_), |
+ mojo::shell::mojom::InterfaceProviderPtr(), base::Bind(&OnGotInstanceID)); |
} |
MojoAppConnectionImpl::~MojoAppConnectionImpl() { |