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

Unified Diff: services/dart/dart_app.h

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/dart/dart_app.h
diff --git a/services/dart/dart_app.h b/services/dart/dart_app.h
index 2ce89ae76236dfd28d8be018ae0aa652ff18742f..a64b2bbb0bd100a9c01abe6bc2a795dde19aeb64 100644
--- a/services/dart/dart_app.h
+++ b/services/dart/dart_app.h
@@ -21,13 +21,14 @@ class ApplicationDelegateImpl;
class DartApp : public mojo::ContentHandlerFactory::HandledApplicationHolder {
public:
- DartApp(mojo::ShellPtr shell, mojo::URLResponsePtr response);
+ DartApp(mojo::InterfaceRequest<mojo::Application> application_request,
+ mojo::URLResponsePtr response);
virtual ~DartApp();
private:
void OnAppLoaded();
- mojo::ShellPtr shell_;
+ mojo::InterfaceRequest<mojo::Application> application_request_;
mojo::dart::DartControllerConfig config_;
DISALLOW_COPY_AND_ASSIGN(DartApp);
};

Powered by Google App Engine
This is Rietveld 408576698