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

Unified Diff: services/dart/content_handler_main.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/clipboard/main.cc ('k') | services/debugger/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/content_handler_main.cc
diff --git a/services/dart/content_handler_main.cc b/services/dart/content_handler_main.cc
index 44acb667a31cb4232ebb1384301cd53b5e786524..957e690662bd325bf5cbc1a95e898e28780d2a88 100644
--- a/services/dart/content_handler_main.cc
+++ b/services/dart/content_handler_main.cc
@@ -237,15 +237,14 @@ class DartContentHandlerApp : public mojo::ApplicationDelegate {
// Overridden from ApplicationDelegate:
bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override {
- bool strict = HasStrictQueryParam(connection->GetServiceProviderImpl()
- .connection_context()
- .connection_url);
+ mojo::ServiceProviderImpl* service_provider_impl) override {
+ bool strict = HasStrictQueryParam(
+ service_provider_impl->connection_context().connection_url);
if (default_strict_ || strict) {
- connection->GetServiceProviderImpl().AddService<mojo::ContentHandler>(
+ service_provider_impl->AddService<mojo::ContentHandler>(
strict_content_handler_factory_.GetInterfaceRequestHandler());
} else {
- connection->GetServiceProviderImpl().AddService<mojo::ContentHandler>(
+ service_provider_impl->AddService<mojo::ContentHandler>(
content_handler_factory_.GetInterfaceRequestHandler());
}
return true;
« no previous file with comments | « services/clipboard/main.cc ('k') | services/debugger/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698