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

Unified Diff: services/native_viewport/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: services/native_viewport/main.cc
diff --git a/services/native_viewport/main.cc b/services/native_viewport/main.cc
index 459b8f5bccf8f7cee376b1220e5e5e9e3d9a2d98..6c9492cf8f2ae621841e8a3ca6160a7fb3124f0c 100644
--- a/services/native_viewport/main.cc
+++ b/services/native_viewport/main.cc
@@ -46,7 +46,7 @@ class NativeViewportAppDelegate : public mojo::ApplicationDelegate,
is_headless_ = app_->HasArg(mojo::kUseHeadlessConfig);
}
- bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
+ bool ConfigureIncomingConnection(ApplicationConnection* connection, const std::string& url) override {
connection->AddService<NativeViewport>(this);
connection->AddService<Gpu>(this);
return true;

Powered by Google App Engine
This is Rietveld 408576698