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

Unified Diff: examples/native_run_app/native_run_app.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/indirect_service/integer_service.cc ('k') | mojo/application/content_handler_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/native_run_app/native_run_app.cc
diff --git a/examples/native_run_app/native_run_app.cc b/examples/native_run_app/native_run_app.cc
index 30645be52e2ef576b3a91a33df6709388a0618c5..7a616360738b00e6f7ba64d1e6da5d301d949ae7 100644
--- a/examples/native_run_app/native_run_app.cc
+++ b/examples/native_run_app/native_run_app.cc
@@ -243,7 +243,7 @@ class NativeRunApp : public mojo::ApplicationDelegate,
}
// |InterfaceFactory<TerminalClient>| implementation:
- void Create(mojo::ApplicationConnection* /*connection*/,
+ void Create(const mojo::ConnectionContext& /*connection_context*/,
mojo::InterfaceRequest<TerminalClient> request) override {
new TerminalClientImpl(request.Pass(), native_support_process_.get());
}
« no previous file with comments | « examples/indirect_service/integer_service.cc ('k') | mojo/application/content_handler_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698