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

Unified Diff: examples/recipes/recipe_handler/recipe_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: examples/recipes/recipe_handler/recipe_handler_main.cc
diff --git a/examples/recipes/recipe_handler/recipe_handler_main.cc b/examples/recipes/recipe_handler/recipe_handler_main.cc
index 89d8d021a0f9dadb01c162513551c6f19b8de6a2..9fd09055d6dcfcaca221dc32ea201b888f6ce4ae 100644
--- a/examples/recipes/recipe_handler/recipe_handler_main.cc
+++ b/examples/recipes/recipe_handler/recipe_handler_main.cc
@@ -30,7 +30,7 @@ class RecipeHandlerApp : public mojo::ApplicationDelegate,
private:
// 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