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

Unified Diff: examples/indirect_service/integer_service.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/indirect_service/integer_service.cc
diff --git a/examples/indirect_service/integer_service.cc b/examples/indirect_service/integer_service.cc
index c1233a0cf8bfc87dfdf30190de14b1bb69dc3e4c..b9b2f4da5edee32e0a532f5cfabac82d58adcbc3 100644
--- a/examples/indirect_service/integer_service.cc
+++ b/examples/indirect_service/integer_service.cc
@@ -31,7 +31,8 @@ class IntegerServiceAppDelegate : public ApplicationDelegate,
public InterfaceFactory<IntegerService> {
public:
bool ConfigureIncomingConnection(
- ApplicationConnection* connection) override {
+ ApplicationConnection* connection,
+ const std::string& url) override {
connection->AddService(this);
return true;
}
@@ -51,4 +52,3 @@ MojoResult MojoMain(MojoHandle shell_handle) {
mojo::ApplicationRunner runner(new mojo::examples::IntegerServiceAppDelegate);
return runner.Run(shell_handle);
}
-

Powered by Google App Engine
This is Rietveld 408576698