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

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

Issue 1130353009: Teach SkyView how to load the main script (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
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 f538e966b5aefaab1eb2058935194a5396388458..aab5ee44bbe01afb21eb82edfbfbdb60a53b945e 100644
--- a/sky/engine/core/script/dart_loader.h
+++ b/sky/engine/core/script/dart_loader.h
@@ -19,6 +19,7 @@ namespace blink {
class DartState;
class DartDependency;
class DartDependencyCatcher;
+class KURL;
// TODO(abarth): This class seems more complicated than it needs to be. Is
// there some way of simplifying this system? For example, we have a bunch
@@ -34,6 +35,8 @@ class DartLoader {
Dart_Handle library,
Dart_Handle url);
+ void LoadLibrary(const KURL& url);
+
void WaitForDependencies(const HashSet<DartDependency*>& dependencies,
const base::Closure& callback);

Powered by Google App Engine
This is Rietveld 408576698