| Index: mojo/shell/public/cpp/shell_client.h
|
| diff --git a/mojo/shell/public/cpp/shell_client.h b/mojo/shell/public/cpp/shell_client.h
|
| index 12c444a0e97208b283b2f0618ea73ef0fcf9fd87..5f603161df4421f52b1c18f43edf0aa3b8b275d6 100644
|
| --- a/mojo/shell/public/cpp/shell_client.h
|
| +++ b/mojo/shell/public/cpp/shell_client.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "mojo/public/cpp/system/macros.h"
|
| #include "mojo/shell/public/cpp/connection.h"
|
| +#include "mojo/shell/public/cpp/identity.h"
|
|
|
| namespace mojo {
|
|
|
| @@ -26,14 +27,12 @@ class ShellClient {
|
| virtual ~ShellClient();
|
|
|
| // Called once a bidirectional connection with the shell has been established.
|
| - // |name| is the name used to start the application.
|
| + // |identity| is the identity of the instance.
|
| // |id| is a unique identifier the shell uses to identify this specific
|
| // instance of the application.
|
| - // |user_id| identifies the user this instance is run as.
|
| // Called exactly once before any other method.
|
| virtual void Initialize(Connector* connector,
|
| - const std::string& name,
|
| - const std::string& user_id,
|
| + const Identity& identity,
|
| uint32_t id);
|
|
|
| // Called when a connection to this client is brokered by the shell. Override
|
|
|