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

Unified Diff: examples/apptest/example_service_application.cc

Issue 1979723002: ApplicationConnection devolution, part 3. (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/apptest/example_service_application.h ('k') | examples/bank_app/bank.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/apptest/example_service_application.cc
diff --git a/examples/apptest/example_service_application.cc b/examples/apptest/example_service_application.cc
index de483b59b7e7c8e3078c47eeb5610ecef7c4015b..1e9a2971c53aad3e6dc3cb4162318279370b234b 100644
--- a/examples/apptest/example_service_application.cc
+++ b/examples/apptest/example_service_application.cc
@@ -17,8 +17,8 @@ ExampleServiceApplication::ExampleServiceApplication() {}
ExampleServiceApplication::~ExampleServiceApplication() {}
bool ExampleServiceApplication::ConfigureIncomingConnection(
- ApplicationConnection* connection) {
- connection->GetServiceProviderImpl().AddService<ExampleService>(
+ ServiceProviderImpl* service_provider_impl) {
+ service_provider_impl->AddService<ExampleService>(
[](const ConnectionContext& connection_context,
InterfaceRequest<ExampleService> example_service_request) {
// Not leaked: ExampleServiceImpl is strongly bound to the pipe.
« no previous file with comments | « examples/apptest/example_service_application.h ('k') | examples/bank_app/bank.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698