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

Unified Diff: mojo/dart/embedder/dart_controller.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 | « no previous file | mojo/dart/embedder/dart_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/embedder/dart_controller.h
diff --git a/mojo/dart/embedder/dart_controller.h b/mojo/dart/embedder/dart_controller.h
index d97002e9a0324670c4f0bae5b18193e99beca773..076701b6c530394f2fc4b25d9008456c67fed7d0 100644
--- a/mojo/dart/embedder/dart_controller.h
+++ b/mojo/dart/embedder/dart_controller.h
@@ -31,7 +31,8 @@ struct DartControllerConfig {
script_flags_count(0),
handle(MOJO_HANDLE_INVALID),
compile_all(false),
- error(nullptr) {
+ error(nullptr),
+ use_network_loader(false) {
}
void SetVmFlags(const char** vm_flags, intptr_t vm_flags_count) {
@@ -67,6 +68,7 @@ struct DartControllerConfig {
MojoHandle handle;
bool compile_all;
char** error;
+ bool use_network_loader;
};
// The DartController may need to request for services to be connected
@@ -147,7 +149,8 @@ class DartController {
IsolateCallbacks callbacks,
const std::string& script_uri,
const std::string& package_root,
- char** error);
+ char** error,
+ bool use_network_loader);
static void InitVmIfNeeded(Dart_EntropySource entropy,
const char** arguments,
« no previous file with comments | « no previous file | mojo/dart/embedder/dart_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698