| Index: content/public/browser/mojo_app_connection.h
|
| diff --git a/content/public/browser/mojo_app_connection.h b/content/public/browser/mojo_app_connection.h
|
| index 3878825889ef93fe8e2e187cfa168c2797617dd0..22b668041aaff088c87f5156b24e24e57b53657c 100644
|
| --- a/content/public/browser/mojo_app_connection.h
|
| +++ b/content/public/browser/mojo_app_connection.h
|
| @@ -15,6 +15,8 @@
|
|
|
| namespace content {
|
|
|
| +class BrowserContext;
|
| +
|
| // A virtual app URL identifying the browser itself. This should be used for
|
| // a connection's |requestor_url| when connecting from browser code to apps that
|
| // don't require a more specific request context.
|
| @@ -28,9 +30,11 @@ class CONTENT_EXPORT MojoAppConnection {
|
| virtual ~MojoAppConnection() {}
|
|
|
| // Creates a new connection to the application at |name| using
|
| - // |requestor_name| to identify the requestor upon connection. This may be
|
| - // called from any thread.
|
| + // |requestor_name| to identify the requestor and |context|'s mojo userid to
|
| + // specify a profile specific application instantiation. This may be called
|
| + // from any thread.
|
| static scoped_ptr<MojoAppConnection> Create(
|
| + uint32_t user_id,
|
| const std::string& name,
|
| const std::string& requestor_name);
|
|
|
|
|