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

Unified Diff: examples/wm_flow/wm/wm.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/wm/wm.cc
diff --git a/examples/wm_flow/wm/wm.cc b/examples/wm_flow/wm/wm.cc
index c7dfc52e508760c388894a62a31bca4756993ab9..5eb3cca82ea4c1ed5e8f688d175a16ca9e1b5e5c 100644
--- a/examples/wm_flow/wm/wm.cc
+++ b/examples/wm_flow/wm/wm.cc
@@ -40,8 +40,9 @@ class SimpleWM : public mojo::ApplicationDelegate,
window_manager_app_->Initialize(impl);
}
virtual bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override {
- window_manager_app_->ConfigureIncomingConnection(connection);
+ mojo::ApplicationConnection* connection,
+ const std::string& url) override {
+ window_manager_app_->ConfigureIncomingConnection(connection, url);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698