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

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

Issue 1212623002: Support snapshots in sky_shell (again) (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | sky/engine/core/script/dart_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/script/dart_controller.h
diff --git a/sky/engine/core/script/dart_controller.h b/sky/engine/core/script/dart_controller.h
index bff9f29c7afb18f3b8485a3aa17d4d5df7e04413..cee23a98c27b94b24d2d166cd8756c6ee253718b 100644
--- a/sky/engine/core/script/dart_controller.h
+++ b/sky/engine/core/script/dart_controller.h
@@ -36,10 +36,9 @@ class DartController {
typedef base::Callback<void(RefPtr<AbstractModule>, RefPtr<DartValue>)>
LoadFinishedCallback;
- void LoadSnapshot(const KURL& url, mojo::URLResponsePtr response = nullptr);
-
void RunFromLibrary(const String& name,
DartLibraryProvider* library_provider);
+ void RunFromSnapshot(mojo::ScopedDataPipeConsumerHandle snapshot);
void LoadScriptInModule(AbstractModule* module,
const String& source,
« no previous file with comments | « no previous file | sky/engine/core/script/dart_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698