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

Unified Diff: services/test_service/test_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 | « 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 bf362d3c274004dc63c42e6eba861fe85dc7c070..0c65da4681320d470e84d80220bca3348c970987 100644
--- a/services/test_service/test_service_application.cc
+++ b/services/test_service/test_service_application.cc
@@ -28,14 +28,14 @@ void TestServiceApplication::Initialize(ApplicationImpl* app) {
}
bool TestServiceApplication::ConfigureIncomingConnection(
- ApplicationConnection* connection) {
- connection->GetServiceProviderImpl().AddService<TestService>(
+ ServiceProviderImpl* service_provider_impl) {
+ service_provider_impl->AddService<TestService>(
[this](const ConnectionContext& connection_context,
InterfaceRequest<TestService> request) {
new TestServiceImpl(app_impl_, this, request.Pass());
AddRef();
});
- connection->GetServiceProviderImpl().AddService<TestTimeService>(
+ service_provider_impl->AddService<TestTimeService>(
[this](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