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

Unified Diff: examples/forwarding_content_handler/forwarding_content_handler.cc

Issue 905583002: Pass the final URL an app was loaded from to the app in Initialize(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: o 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
« no previous file with comments | « examples/content_handler_demo/content_handler_demo.cc ('k') | examples/python/__mojo__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b424eb79277b1e6ef62508a3d1c59e2af166a749..6f4275bba75401f849956743c814c8482fb40e0b 100644
--- a/examples/forwarding_content_handler/forwarding_content_handler.cc
+++ b/examples/forwarding_content_handler/forwarding_content_handler.cc
@@ -29,7 +29,9 @@ class ForwardingApplicationImpl : public Application {
private:
// Application:
- void Initialize(ShellPtr shell, Array<String> args) override {
+ void Initialize(ShellPtr shell,
+ Array<String> args,
+ const mojo::String& url) override {
shell_ = shell.Pass();
}
void AcceptConnection(const String& requestor_url,
« no previous file with comments | « examples/content_handler_demo/content_handler_demo.cc ('k') | examples/python/__mojo__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698