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

Unified Diff: services/dart/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: 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/dart/content_handler_main.cc
diff --git a/services/dart/content_handler_main.cc b/services/dart/content_handler_main.cc
index 84c2cf055b04404dabf4d8497acbb109b88d8980..bafeb2d5a720937c921c9fa1f1c8eaaf9e408f69 100644
--- a/services/dart/content_handler_main.cc
+++ b/services/dart/content_handler_main.cc
@@ -42,9 +42,11 @@ class DartContentHandler : 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 DartApp(shell.Pass(), response.Pass()));
+ CreateApplication(
+ mojo::InterfaceRequest<mojo::Application> application_request,
+ mojo::URLResponsePtr response) override {
+ return make_scoped_ptr(
+ new DartApp(application_request.Pass(), response.Pass()));
}
mojo::ContentHandlerFactory content_handler_factory_;

Powered by Google App Engine
This is Rietveld 408576698