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

Unified Diff: examples/echo/echo_server.cc

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 | « examples/echo/echo_client.cc ('k') | examples/echo_terminal/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/echo/echo_server.cc
diff --git a/examples/echo/echo_server.cc b/examples/echo/echo_server.cc
index 9cf1ddf5ab1608b8208609698f35e08147093634..b60d853df2519d32060fbda98211caa162e2b716 100644
--- a/examples/echo/echo_server.cc
+++ b/examples/echo/echo_server.cc
@@ -131,11 +131,11 @@ class OneAtATimeServer : public mojo::ApplicationDelegate,
} // namespace examples
} // namespace mojo
-MojoResult MojoMain(MojoHandle shell_handle) {
+MojoResult MojoMain(MojoHandle application_request) {
// Uncomment one of the three servers at a time to see it work:
mojo::ApplicationRunner runner(new mojo::examples::MultiServer());
// mojo::ApplicationRunner runner(new mojo::examples::SingletonServer());
// mojo::ApplicationRunner runner(new mojo::examples::OneAtATimeServer());
- return runner.Run(shell_handle);
+ return runner.Run(application_request);
}
« no previous file with comments | « examples/echo/echo_client.cc ('k') | examples/echo_terminal/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698