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

Unified Diff: sky/engine/core/script/dart_loader.h

Issue 1147413003: Teach sky_viewer about the new main.dart hotness (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Turn off SkyView by defaultw Created 5 years, 7 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 | « sky/engine/core/script/dart_controller.cc ('k') | sky/engine/core/script/dart_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/script/dart_loader.h
diff --git a/sky/engine/core/script/dart_loader.h b/sky/engine/core/script/dart_loader.h
index aab5ee44bbe01afb21eb82edfbfbdb60a53b945e..660340934f1f77945ab2eb5ff92fab4a68e4e566 100644
--- a/sky/engine/core/script/dart_loader.h
+++ b/sky/engine/core/script/dart_loader.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "dart/runtime/include/dart_api.h"
+#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
#include "sky/engine/wtf/HashMap.h"
#include "sky/engine/wtf/HashSet.h"
#include "sky/engine/wtf/OwnPtr.h"
@@ -35,7 +36,7 @@ class DartLoader {
Dart_Handle library,
Dart_Handle url);
- void LoadLibrary(const KURL& url);
+ void LoadLibrary(const KURL& url, mojo::URLResponsePtr response = nullptr);
void WaitForDependencies(const HashSet<DartDependency*>& dependencies,
const base::Closure& callback);
« no previous file with comments | « sky/engine/core/script/dart_controller.cc ('k') | sky/engine/core/script/dart_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698