| Index: mojo/shell/public/cpp/application_runner.h
|
| diff --git a/mojo/shell/public/cpp/application_runner.h b/mojo/shell/public/cpp/application_runner.h
|
| index 3863923e30fd20f56f3263e68c5e3a595a195821..2fb28a2b24bff3a337b27bae941b7abfdc3abe51 100644
|
| --- a/mojo/shell/public/cpp/application_runner.h
|
| +++ b/mojo/shell/public/cpp/application_runner.h
|
| @@ -27,7 +27,7 @@ class ShellConnection;
|
| // ultimately Quit().
|
| class ApplicationRunner {
|
| public:
|
| - // Takes ownership of |delegate|.
|
| + // Takes ownership of |client|.
|
| explicit ApplicationRunner(ShellClient* client);
|
| ~ApplicationRunner();
|
|
|
| @@ -53,6 +53,10 @@ class ApplicationRunner {
|
| // requests from others.
|
| void DestroyShellConnection();
|
|
|
| + // Allows the caller to explicitly quit the application. Must be called from
|
| + // the thread which created the ApplicationRunner.
|
| + void Quit();
|
| +
|
| private:
|
| scoped_ptr<ShellConnection> connection_;
|
| scoped_ptr<ShellClient> client_;
|
|
|