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

Unified Diff: examples/png_viewer/png_viewer.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/png_viewer/png_viewer.cc
diff --git a/examples/png_viewer/png_viewer.cc b/examples/png_viewer/png_viewer.cc
index e929cdbb48fc65ef61c3bbd4e17f7145c802b31b..0be58e8533df6eba42dd68387c2ffbb071f77f3b 100644
--- a/examples/png_viewer/png_viewer.cc
+++ b/examples/png_viewer/png_viewer.cc
@@ -84,7 +84,7 @@ class PNGView : public ApplicationDelegate,
// Overridden from ApplicationDelegate:
virtual bool ConfigureIncomingConnection(
- ApplicationConnection* connection) override {
+ ApplicationConnection* connection, const std::string& url) override {
connection->AddService(view_manager_client_factory_.get());
return true;
}
@@ -203,7 +203,7 @@ class PNGViewer : public ApplicationDelegate,
private:
// Overridden from ApplicationDelegate:
virtual bool ConfigureIncomingConnection(
- ApplicationConnection* connection) override {
+ ApplicationConnection* connection, const std::string& url) override {
connection->AddService(&content_handler_factory_);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698