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

Unified Diff: examples/hello_mojo/hello_mojo_server.cc

Issue 1975993002: Change InterfaceFactory<I>::Create() to take a ConnectionContext instead of an ApplicationConnectio… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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_terminal/main.cc ('k') | examples/indirect_service/indirect_integer_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/hello_mojo/hello_mojo_server.cc
diff --git a/examples/hello_mojo/hello_mojo_server.cc b/examples/hello_mojo/hello_mojo_server.cc
index 08efddde334bf3c5817e7f42d63e94d0713538e7..6d0060a10806b9635dc6f6ecf194255c9e853414 100644
--- a/examples/hello_mojo/hello_mojo_server.cc
+++ b/examples/hello_mojo/hello_mojo_server.cc
@@ -52,7 +52,7 @@ class HelloMojoServerApp : public mojo::ApplicationDelegate,
}
// |mojo::InterfaceFactory<HelloMojo>| implementation:
- void Create(mojo::ApplicationConnection* application_connection,
+ void Create(const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<HelloMojo> hello_mojo_request) override {
new HelloMojoImpl(std::move(hello_mojo_request)); // Owns itself.
}
« no previous file with comments | « examples/echo_terminal/main.cc ('k') | examples/indirect_service/indirect_integer_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698