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

Unified Diff: services/test_service/test_service_application.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 | « services/test_service/test_service_application.h ('k') | services/tracing/tracing_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/test_service/test_service_application.cc
diff --git a/services/test_service/test_service_application.cc b/services/test_service/test_service_application.cc
index b288d9883b076d2e6db096eafa6948da2d21c34b..509ddac0d157a564100b398d7082aced603bb4af 100644
--- a/services/test_service/test_service_application.cc
+++ b/services/test_service/test_service_application.cc
@@ -34,13 +34,13 @@ bool TestServiceApplication::ConfigureIncomingConnection(
return true;
}
-void TestServiceApplication::Create(ApplicationConnection* connection,
+void TestServiceApplication::Create(const ConnectionContext& connection_context,
InterfaceRequest<TestService> request) {
new TestServiceImpl(app_impl_, this, request.Pass());
AddRef();
}
-void TestServiceApplication::Create(ApplicationConnection* connection,
+void TestServiceApplication::Create(const ConnectionContext& connection_context,
InterfaceRequest<TestTimeService> request) {
new TestTimeServiceImpl(app_impl_, request.Pass());
}
« no previous file with comments | « services/test_service/test_service_application.h ('k') | services/tracing/tracing_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698