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

Unified Diff: services/dart/dart_app.h

Issue 1262493002: Enable HTTP loading in Mojo dart content handler (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « services/dart/content_handler_main.cc ('k') | services/dart/dart_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/dart_app.h
diff --git a/services/dart/dart_app.h b/services/dart/dart_app.h
index c6ab6e3df53743a5e90293040cf20d0f07628d59..d38159bab08162e5b4f5226c5aae1a2174afb8d2 100644
--- a/services/dart/dart_app.h
+++ b/services/dart/dart_app.h
@@ -22,9 +22,14 @@ class ApplicationDelegateImpl;
class DartApp : public mojo::ContentHandlerFactory::HandledApplicationHolder {
public:
+ // When running from an extracted zip file.
DartApp(mojo::InterfaceRequest<mojo::Application> application_request,
const base::FilePath& application_dir,
bool strict);
+ // When running from a dart file.
+ DartApp(mojo::InterfaceRequest<mojo::Application> application_request,
+ const std::string& url,
+ bool strict);
virtual ~DartApp();
private:
« no previous file with comments | « services/dart/content_handler_main.cc ('k') | services/dart/dart_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698