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

Unified Diff: examples/indirect_service/indirect_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/hello_mojo/hello_mojo_server.cc ('k') | examples/indirect_service/integer_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/indirect_service/indirect_integer_service.cc
diff --git a/examples/indirect_service/indirect_integer_service.cc b/examples/indirect_service/indirect_integer_service.cc
index c5bff99eec7ef985caff483f4384efbd095140a1..ec7f589f9796b0558ca8aec344cbd4521884bf4c 100644
--- a/examples/indirect_service/indirect_integer_service.cc
+++ b/examples/indirect_service/indirect_integer_service.cc
@@ -52,8 +52,8 @@ private:
class IndirectIntegerServiceAppDelegate : public ApplicationDelegate {
public:
bool ConfigureIncomingConnection(
- ApplicationConnection* connection) override {
- connection->GetServiceProviderImpl().AddService<IndirectIntegerService>(
+ ServiceProviderImpl* service_provider_impl) override {
+ service_provider_impl->AddService<IndirectIntegerService>(
[](const ConnectionContext& connection_context,
InterfaceRequest<IndirectIntegerService> request) {
new IndirectIntegerServiceImpl(request.Pass());
« no previous file with comments | « examples/hello_mojo/hello_mojo_server.cc ('k') | examples/indirect_service/integer_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698