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

Unified Diff: examples/surfaces_app/surfaces_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/surfaces_app/surfaces_app.cc
diff --git a/examples/surfaces_app/surfaces_app.cc b/examples/surfaces_app/surfaces_app.cc
index e232896a6fe5097067df3d8d3f20029fe16ec6eb..2a96e95ba770ca07c06980c5709af406a19ff57c 100644
--- a/examples/surfaces_app/surfaces_app.cc
+++ b/examples/surfaces_app/surfaces_app.cc
@@ -36,7 +36,8 @@ class SurfacesApp : public ApplicationDelegate {
void Initialize(ApplicationImpl* app) override { app_impl_ = app; }
// ApplicationDelegate implementation
- bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
+ bool ConfigureIncomingConnection(ApplicationConnection* connection,
+ const std::string& url) override {
app_impl_->ConnectToService("mojo:native_viewport_service", &viewport_);
app_impl_->ConnectToService("mojo:surfaces_service", &surface_);

Powered by Google App Engine
This is Rietveld 408576698