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

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: 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 b424eb79277b1e6ef62508a3d1c59e2af166a749..8718a6e7399ca0974d215e8a70e0563304a793a6 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,
+ const mojo::String& url,
+ Array<String> args) override {
shell_ = shell.Pass();
}
void AcceptConnection(const String& requestor_url,

Powered by Google App Engine
This is Rietveld 408576698