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

Unified Diff: services/js/content_handler_main.cc

Issue 868463008: Remove Client relationship between mojo.Shell/mojo.Application (Closed) Base URL: git@github.com:domokit/mojo.git@app_impl_init
Patch Set: fix android Created 5 years, 11 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: services/js/content_handler_main.cc
diff --git a/services/js/content_handler_main.cc b/services/js/content_handler_main.cc
index fb22a27669372e43fe78bf548636ff707fe61e78..a114a1719af93d4cfb40fc22fc363a3eab665d58 100644
--- a/services/js/content_handler_main.cc
+++ b/services/js/content_handler_main.cc
@@ -38,9 +38,11 @@ class JsContentHandler : public mojo::ApplicationDelegate,
// Overridden from ContentHandlerFactory::ManagedDelegate:
scoped_ptr<mojo::ContentHandlerFactory::HandledApplicationHolder>
- CreateApplication(mojo::ShellPtr shell,
- mojo::URLResponsePtr response) override {
- return make_scoped_ptr(new JSApp(shell.Pass(), response.Pass()));
+ CreateApplication(
+ mojo::InterfaceRequest<mojo::Application> application_request,
+ mojo::URLResponsePtr response) override {
+ return make_scoped_ptr(
+ new JSApp(application_request.Pass(), response.Pass()));
}
mojo::ContentHandlerFactory content_handler_factory_;

Powered by Google App Engine
This is Rietveld 408576698