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

Unified Diff: sky/viewer/content_handler_impl.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: sky/viewer/content_handler_impl.cc
diff --git a/sky/viewer/content_handler_impl.cc b/sky/viewer/content_handler_impl.cc
index 4e70167fa477e8599dfee22eb52447cd5114f470..ffdcdb0532e738129af83a5ba5870bd1a1c4c8c6 100644
--- a/sky/viewer/content_handler_impl.cc
+++ b/sky/viewer/content_handler_impl.cc
@@ -22,6 +22,7 @@ class SkyApplication : public mojo::Application {
initial_response_(response.Pass()) {}
void Initialize(mojo::ShellPtr shell,
+ const mojo::String& url,
mojo::Array<mojo::String> args) override {
shell_ = shell.Pass();
mojo::ServiceProviderPtr service_provider;

Powered by Google App Engine
This is Rietveld 408576698