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

Unified Diff: examples/indirect_service/integer_service.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/indirect_service/indirect_integer_service.cc ('k') | examples/media_test/media_test_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/indirect_service/integer_service.cc
diff --git a/examples/indirect_service/integer_service.cc b/examples/indirect_service/integer_service.cc
index 6e8b6ac967c4ce3e36b89cdc78c77c93b7ce2834..e7979f98f6eea69e970a66fc2e8f5d1ff302aa97 100644
--- a/examples/indirect_service/integer_service.cc
+++ b/examples/indirect_service/integer_service.cc
@@ -32,8 +32,8 @@ class IntegerServiceImpl : public IntegerService {
class IntegerServiceAppDelegate : public ApplicationDelegate {
public:
bool ConfigureIncomingConnection(
- ApplicationConnection* connection) override {
- connection->GetServiceProviderImpl().AddService<IntegerService>(
+ ServiceProviderImpl* service_provider_impl) override {
+ service_provider_impl->AddService<IntegerService>(
[](const ConnectionContext& connection_context,
InterfaceRequest<IntegerService> request) {
new IntegerServiceImpl(request.Pass());
« no previous file with comments | « examples/indirect_service/indirect_integer_service.cc ('k') | examples/media_test/media_test_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698