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

Unified Diff: runtime/lib/internal_patch.dart

Issue 1181663002: Add Resource class. (Closed) Base URL: https://github.com/dart-lang/sdk.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
Index: runtime/lib/internal_patch.dart
diff --git a/runtime/lib/internal_patch.dart b/runtime/lib/internal_patch.dart
index 86c4a5a75b68b7ff081c4cbafaaa3e11cf0f0afb..edeea3abfb4d565962a018aa497b0b6e61492252 100644
--- a/runtime/lib/internal_patch.dart
+++ b/runtime/lib/internal_patch.dart
@@ -13,6 +13,12 @@ class VMLibraryHooks {
static var timerFactory;
// Example: "dart:io _EventHandler._sendData"
static var eventHandlerSendData;
+ // Example: "dart:core Resource._readAsStream"
Ivan Posva 2015/06/12 10:51:03 Not needed in this CL.
Lasse Reichstein Nielsen 2015/06/16 12:05:01 Done.
+ static var resourceReadAsStream;
+ // Example: "dart:core Resource._readAsFuture"
+ static var resourceReadAsFuture;
+ // Example: "dart:core Resource._readAsString"
+ static var resourceReadAsString;
}
patch class CodeUnits {
@@ -21,4 +27,4 @@ patch class CodeUnits {
final bool is64Bit = _inquireIs64Bit();
-bool _inquireIs64Bit() native "Internal_inquireIs64Bit";
+bool _inquireIs64Bit() native "Internal_inquireIs64Bit";
Ivan Posva 2015/06/12 10:51:03 I assume this adds a missing new line?
Lasse Reichstein Nielsen 2015/06/16 12:05:01 Yes, seems so.

Powered by Google App Engine
This is Rietveld 408576698