Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1096)

Unified Diff: mojo/public/cpp/application/application_runner.h

Issue 1058163002: Replaces |shell_handle| with |application_request| as the name of the parameter to MojoMain(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/application/application_runner_chromium.h ('k') | mojo/tools/package_manager/package_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/application_runner.h
diff --git a/mojo/public/cpp/application/application_runner.h b/mojo/public/cpp/application/application_runner.h
index b88ec8e909d5e77463bbba5e7d9a87f21d8380ff..3d3c868767c7ad1a8e0e0acf4e02226ad99206fc 100644
--- a/mojo/public/cpp/application/application_runner.h
+++ b/mojo/public/cpp/application/application_runner.h
@@ -14,9 +14,9 @@ class ApplicationDelegate;
// A utility for running an Application. The typical use case is to use
// when writing your MojoMain:
//
-// MojoResult MojoMain(MojoHandle shell_handle) {
+// MojoResult MojoMain(MojoHandle application_request) {
// mojo::ApplicationRunner runner(new MyApplicationDelegate());
-// return runner.Run(shell_handle);
+// return runner.Run(application_request);
// }
//
// ApplicationRunner takes care of mojo environment initialization and
@@ -31,7 +31,7 @@ class ApplicationRunner {
// Once the various parameters have been set above, use Run to initialize an
// ApplicationImpl wired to the provided delegate, and run a RunLoop until
// the application exits.
- MojoResult Run(MojoHandle shell_handle);
+ MojoResult Run(MojoHandle application_request);
private:
ApplicationDelegate* delegate_;
« no previous file with comments | « mojo/application/application_runner_chromium.h ('k') | mojo/tools/package_manager/package_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698