Chromium Code Reviews| 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..024e241c713b660659ed0223f20c663f7cfdda2d 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( |
| + BrowserContext* context, |
|
Ben Goodger (Google)
2016/03/04 20:50:49
same here... just take a uint32_t
|
| const std::string& name, |
| const std::string& requestor_name); |