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

Unified Diff: sky/tools/tester/tester.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: sky/tools/tester/tester.cc
diff --git a/sky/tools/tester/tester.cc b/sky/tools/tester/tester.cc
index 631ca4e2604d900dd23c044b3323535969f098fa..e3a26be8d94a966443b5e99248308d4de6ca100a 100644
--- a/sky/tools/tester/tester.cc
+++ b/sky/tools/tester/tester.cc
@@ -75,8 +75,9 @@ class SkyTester : public mojo::ApplicationDelegate,
url_from_args_ = impl->args()[1];
}
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);
if (test_runner_)
connection->AddService(test_runner_.get());
return true;

Powered by Google App Engine
This is Rietveld 408576698