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

Unified Diff: services/http_server/http_server_app.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/http_server/http_server_app.cc
diff --git a/services/http_server/http_server_app.cc b/services/http_server/http_server_app.cc
index e4486fefc3c66472d5eb71adfb17b214a14b2278..a878476e9b08c4788108fe4bae931c3446a335d7 100644
--- a/services/http_server/http_server_app.cc
+++ b/services/http_server/http_server_app.cc
@@ -25,7 +25,8 @@ class HttpServerApp : public mojo::ApplicationDelegate,
private:
// ApplicationDelegate:
bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override {
+ mojo::ApplicationConnection* connection,
+ const std::string& url) override {
connection->AddService(this);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698