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

Unified Diff: services/dart/content_handler_main.cc

Issue 1977043002: ApplicationConnection devolution, part 1. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_service_registry_spimpl
Patch Set: rebased 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
Index: services/dart/content_handler_main.cc
diff --git a/services/dart/content_handler_main.cc b/services/dart/content_handler_main.cc
index 4808811deac8c1590d44cd3ae93d00e876dd8a84..a8c6d2a350cbab83ec165fe587b0eba4216e95ba 100644
--- a/services/dart/content_handler_main.cc
+++ b/services/dart/content_handler_main.cc
@@ -238,7 +238,9 @@ class DartContentHandlerApp : public mojo::ApplicationDelegate {
// Overridden from ApplicationDelegate:
bool ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) override {
- bool strict = HasStrictQueryParam(connection->GetConnectionURL());
+ bool strict = HasStrictQueryParam(connection->GetServiceProviderImpl()
+ .connection_context()
+ .connection_url);
if (default_strict_ || strict) {
connection->AddService(&strict_content_handler_factory_);
} else {

Powered by Google App Engine
This is Rietveld 408576698