Index: runtime/bin/dartutils.cc |
=================================================================== |
--- runtime/bin/dartutils.cc (revision 8989) |
+++ runtime/bin/dartutils.cc (working copy) |
@@ -20,6 +20,7 @@ |
const char* DartUtils::kUriLibURL = "dart:uri"; |
const char* DartUtils::kUtfLibURL = "dart:utf"; |
const char* DartUtils::kIsolateLibURL = "dart:isolate"; |
+const char* DartUtils::kWebLibURL = "dart:web"; |
const char* DartUtils::kIdFieldName = "_id"; |
@@ -153,6 +154,11 @@ |
} |
+bool DartUtils::IsDartWebLibURL(const char* url_name) { |
+ return (strcmp(url_name, kWebLibURL) == 0); |
+} |
+ |
+ |
Dart_Handle DartUtils::CanonicalizeURL(CommandLineOptions* url_mapping, |
Dart_Handle library, |
const char* url_str) { |