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

Unified Diff: examples/forwarding_content_handler/forwarding_content_handler.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/echo_terminal/main.cc ('k') | examples/hello_mojo/hello_mojo_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/forwarding_content_handler/forwarding_content_handler.cc
diff --git a/examples/forwarding_content_handler/forwarding_content_handler.cc b/examples/forwarding_content_handler/forwarding_content_handler.cc
index 87730f2ee4a7cdfabbe46ae237a2339bb2205a31..cc6ff7829f48e57c0d1a7cd16ad6c0e8ced9caf4 100644
--- a/examples/forwarding_content_handler/forwarding_content_handler.cc
+++ b/examples/forwarding_content_handler/forwarding_content_handler.cc
@@ -58,8 +58,9 @@ class ForwardingContentHandler : public ApplicationDelegate,
private:
// Overridden from ApplicationDelegate:
- bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
- connection->GetServiceProviderImpl().AddService<ContentHandler>(
+ bool ConfigureIncomingConnection(
+ ServiceProviderImpl* service_provider_impl) override {
+ service_provider_impl->AddService<ContentHandler>(
content_handler_factory_.GetInterfaceRequestHandler());
return true;
}
« no previous file with comments | « examples/echo_terminal/main.cc ('k') | examples/hello_mojo/hello_mojo_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698