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

Unified Diff: examples/bank_app/bank.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
Index: examples/bank_app/bank.cc
diff --git a/examples/bank_app/bank.cc b/examples/bank_app/bank.cc
index b2ffbb36bde98c34214d5f8395c69522ea7a2aa7..7229c6fc310952844e12cdb7f7fdeaa2fdb14434 100644
--- a/examples/bank_app/bank.cc
+++ b/examples/bank_app/bank.cc
@@ -82,7 +82,7 @@ class BankApp : public mojo::ApplicationDelegate,
return true;
}
- void Create(mojo::ApplicationConnection* connection,
+ void Create(const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<Bank> request) override {
bindings_.AddBinding(&bank_impl_, request.Pass());
}
« no previous file with comments | « examples/apptest/example_service_application.cc ('k') | examples/content_handler_demo/content_handler_demo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698