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

Unified Diff: services/js/content_handler_main.cc

Issue 943053003: Simple multi-url support for mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: hate Created 5 years, 10 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/js/content_handler_main.cc
diff --git a/services/js/content_handler_main.cc b/services/js/content_handler_main.cc
index a114a1719af93d4cfb40fc22fc363a3eab665d58..a08a3d905a202315781a17373b7f95b02261e880 100644
--- a/services/js/content_handler_main.cc
+++ b/services/js/content_handler_main.cc
@@ -31,7 +31,8 @@ class JsContentHandler : public mojo::ApplicationDelegate,
// Overridden from ApplicationDelegate:
bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override {
+ mojo::ApplicationConnection* connection,
+ const std::string& url) override {
connection->AddService(&content_handler_factory_);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698