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

Unified Diff: examples/wm_flow/app/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: examples/wm_flow/app/app.cc
diff --git a/examples/wm_flow/app/app.cc b/examples/wm_flow/app/app.cc
index 8827191c8fa272baed7f6135fbb65b75d2846c53..67b87e54015e6d25c1b5da050f93a7378bf9536e 100644
--- a/examples/wm_flow/app/app.cc
+++ b/examples/wm_flow/app/app.cc
@@ -104,7 +104,8 @@ class WMFlowApp : public mojo::ApplicationDelegate,
OpenNewWindow();
}
virtual bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override {
+ mojo::ApplicationConnection* connection,
+ const std::string& url) override {
connection->AddService(view_manager_client_factory_.get());
return true;
}

Powered by Google App Engine
This is Rietveld 408576698