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

Unified Diff: examples/forwarding_content_handler/forwarding_content_handler.cc

Issue 943053003: Simple multi-url support for mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase + fix android 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/forwarding_content_handler/forwarding_content_handler.cc
diff --git a/examples/forwarding_content_handler/forwarding_content_handler.cc b/examples/forwarding_content_handler/forwarding_content_handler.cc
index 6f4275bba75401f849956743c814c8482fb40e0b..fbee7504f8d6fb8cf218f0c012c5df68197f261f 100644
--- a/examples/forwarding_content_handler/forwarding_content_handler.cc
+++ b/examples/forwarding_content_handler/forwarding_content_handler.cc
@@ -36,7 +36,8 @@ class ForwardingApplicationImpl : public Application {
}
void AcceptConnection(const String& requestor_url,
InterfaceRequest<ServiceProvider> services,
- ServiceProviderPtr exposed_services) override {
+ ServiceProviderPtr exposed_services,
+ const String& requested_url) override {
shell_->ConnectToApplication(target_url_, services.Pass(),
exposed_services.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698