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

Unified Diff: examples/content_handler_demo/content_handler_demo.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/bank_app/bank.cc ('k') | examples/echo/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/content_handler_demo/content_handler_demo.cc
diff --git a/examples/content_handler_demo/content_handler_demo.cc b/examples/content_handler_demo/content_handler_demo.cc
index d0b055246fdefe6b12399bddc3548e5b790fe2f3..fc128914c08296c6e182d8848d7c67f4cffd8ca8 100644
--- a/examples/content_handler_demo/content_handler_demo.cc
+++ b/examples/content_handler_demo/content_handler_demo.cc
@@ -99,8 +99,9 @@ class ContentHandlerApp : public ApplicationDelegate {
void Initialize(ApplicationImpl* app) override {}
- bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
- connection->GetServiceProviderImpl().AddService<ContentHandler>(
+ bool ConfigureIncomingConnection(
+ ServiceProviderImpl* service_provider_impl) override {
+ service_provider_impl->AddService<ContentHandler>(
[](const ConnectionContext& connection_context,
InterfaceRequest<ContentHandler> content_handler_request) {
new ContentHandlerImpl(content_handler_request.Pass());
« no previous file with comments | « examples/bank_app/bank.cc ('k') | examples/echo/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698