Index: content/browser/mojo/mojo_shell_context.h |
diff --git a/content/browser/mojo/mojo_shell_context.h b/content/browser/mojo/mojo_shell_context.h |
index 90bda83290332ba98079149e48da163f8a5cd663..41e5709f6c2c91a3c7ea129c9d3569de68b4c5b6 100644 |
--- a/content/browser/mojo/mojo_shell_context.h |
+++ b/content/browser/mojo/mojo_shell_context.h |
@@ -43,6 +43,16 @@ class CONTENT_EXPORT MojoShellContext { |
mojo::shell::mojom::InterfaceProviderPtr exposed_services, |
const mojo::shell::mojom::Connector::ConnectCallback& callback); |
+ // Like ConnectToApplication(), but connects to the application as a specific |
+ // userid. |
+ static void ConnectToApplicationWithUserId( |
Ben Goodger (Google)
2016/03/11 23:21:38
I think so few people use this class now that you
|
+ const std::string& user_id, |
+ const std::string& name, |
+ const std::string& requestor_name, |
+ mojo::shell::mojom::InterfaceProviderRequest request, |
+ mojo::shell::mojom::InterfaceProviderPtr exposed_services, |
+ const mojo::shell::mojom::Connector::ConnectCallback& callback); |
+ |
static void SetApplicationsForTest(const StaticApplicationMap* apps); |
private: |
@@ -50,6 +60,7 @@ class CONTENT_EXPORT MojoShellContext { |
friend class Proxy; |
void ConnectToApplicationOnOwnThread( |
+ const std::string& user_id, |
const std::string& name, |
const std::string& requestor_name, |
mojo::shell::mojom::InterfaceProviderRequest request, |