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

Unified Diff: runtime/bin/dartutils.h

Issue 529203004: Cleanup resource loading of the VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/dartutils.h
diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h
index ed53fab2ef5523b7546eaf53ff14e22f692a4686..785a7559ea6e85ba967a59d40e41e0b3807a5cd0 100644
--- a/runtime/bin/dartutils.h
+++ b/runtime/bin/dartutils.h
@@ -118,20 +118,16 @@ class DartUtils {
static void WriteFile(const void* buffer, intptr_t num_bytes, void* stream);
static void CloseFile(void* stream);
static bool EntropySource(uint8_t* buffer, intptr_t length);
-
static Dart_Handle ReadStringFromFile(const char* filename);
- static Dart_Handle ReadStringFromHttp(const char* filename);
static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag,
Dart_Handle library,
Dart_Handle url);
static Dart_Handle LoadScript(const char* script_uri,
Dart_Handle builtin_lib);
- static Dart_Handle LoadScriptHttp(Dart_Handle script_uri,
- Dart_Handle builtin_lib);
static Dart_Handle LoadSource(Dart_Handle library,
Dart_Handle url,
Dart_LibraryTag tag,
- const char* filename);
+ Dart_Handle builtin_lib);
static Dart_Handle PrepareForScriptLoading(const char* package_root,
Dart_Handle builtin_lib);
@@ -188,9 +184,6 @@ class DartUtils {
Dart_Handle url,
Dart_Handle builtin_lib);
- static Dart_Handle LoadScriptDataAsync(Dart_Handle script_uri,
- Dart_Handle builtin_lib);
-
// Sniffs the specified text_buffer to see if it contains the magic number
// representing a script snapshot. If the text_buffer is a script snapshot
// the return value is an updated pointer to the text_buffer pointing past

Powered by Google App Engine
This is Rietveld 408576698