| 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..cf6c67d48bd8905e56773614193be23df0c67778 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_),
|
| + MojoShellContext::ConnectToApplicationWithUserId(
|
| + user_id, name, requestor_name, mojo::GetProxy(&interfaces_),
|
| mojo::shell::mojom::InterfaceProviderPtr(),
|
| base::Bind(&OnGotInstanceID));
|
| }
|
|
|