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

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: Cleanup. 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
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dartutils.h
diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h
index ed53fab2ef5523b7546eaf53ff14e22f692a4686..390dc9a720a46c3afb0e790455afe38353d5b8f9 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);
+ static Dart_Handle LoadSourceAsync(Dart_Handle library,
+ Dart_Handle url,
+ Dart_LibraryTag tag,
+ 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
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698