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

Unified Diff: examples/browser/browser.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/browser/browser.cc
diff --git a/examples/browser/browser.cc b/examples/browser/browser.cc
index 527cbb9befc04741cf544e07dc2da6184776b4a1..4997d4a8f76cda3f1500170d13c09ee6112561c1 100644
--- a/examples/browser/browser.cc
+++ b/examples/browser/browser.cc
@@ -57,7 +57,7 @@ class Browser : public ApplicationDelegate,
url_ = GURL(app->args()[1]);
}
- bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
+ bool ConfigureIncomingConnection(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