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

Unified Diff: services/python/content_handler/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
« no previous file with comments | « services/dart/content_handler_main.cc ('k') | services/ui/launcher/launcher_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/python/content_handler/content_handler_main.cc
diff --git a/services/python/content_handler/content_handler_main.cc b/services/python/content_handler/content_handler_main.cc
index f52e2f2c86a0109464b0b311dcd97228ddd79a53..be6897dbf8ad6e46a44edf5e62256073d7ece187 100644
--- a/services/python/content_handler/content_handler_main.cc
+++ b/services/python/content_handler/content_handler_main.cc
@@ -213,7 +213,9 @@ class PythonContentHandlerApp : public ApplicationDelegate {
private:
// Overridden from ApplicationDelegate:
bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
- if (IsDebug(connection->GetConnectionURL()))
+ if (IsDebug(connection->GetServiceProviderImpl()
+ .connection_context()
+ .connection_url))
connection->AddService(&debug_content_handler_factory_);
else
connection->AddService(&content_handler_factory_);
« no previous file with comments | « services/dart/content_handler_main.cc ('k') | services/ui/launcher/launcher_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698