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

Unified Diff: runtime/bin/loader.h

Issue 2715463003: Add option to gen_snapshot for creating a Makefile describing a snapshot's dependencies. (Closed)
Patch Set: Created 3 years, 10 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: runtime/bin/loader.h
diff --git a/runtime/bin/loader.h b/runtime/bin/loader.h
index cc4912dda7011d81d163932caa9249d26fc7c6c8..f9d050292ce2325c0a6043e5efbd4947e53f4b46 100644
--- a/runtime/bin/loader.h
+++ b/runtime/bin/loader.h
@@ -29,6 +29,9 @@ class Loader {
uint8_t** payload,
intptr_t* payload_length);
+ static Dart_Handle ResolveAsFilePath(Dart_Handle url,
+ uint8_t** payload,
+ intptr_t* payload_length);
// A static tag handler that hides all usage of a loader for an isolate.
static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag,
@@ -106,7 +109,7 @@ class Loader {
static bool ProcessResultLocked(Loader* loader, IOResult* result);
/// Returns false if |result| is an error and the loader should quit.
- static bool ProcessUrlLoadResultLocked(Loader* loader, IOResult* result);
+ static bool ProcessPayloadResultLocked(Loader* loader, IOResult* result);
/// Returns false if an error occurred and the loader should quit.
bool ProcessQueueLocked(ProcessResult process_result);

Powered by Google App Engine
This is Rietveld 408576698