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

Unified Diff: runtime/bin/dartutils.cc

Issue 10919147: Move dart:web to pkg:htmlescape. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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/dartutils.h ('k') | runtime/bin/web_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dartutils.cc
diff --git a/runtime/bin/dartutils.cc b/runtime/bin/dartutils.cc
index 8223b9f633ff8905a2bb6bee8dc1dc233397b42f..57f70069f0bb40e6bb89db0e35f3d7d3f66f30a8 100644
--- a/runtime/bin/dartutils.cc
+++ b/runtime/bin/dartutils.cc
@@ -23,7 +23,6 @@ const char* DartUtils::kJsonLibURL = "dart:json";
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";
@@ -166,11 +165,6 @@ bool DartUtils::IsDartUtfLibURL(const char* url_name) {
}
-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) {
@@ -306,8 +300,6 @@ Dart_Handle DartUtils::LibraryTagHandler(Dart_LibraryTag tag,
id = Builtin::kUriLibrary;
} else if (DartUtils::IsDartUtfLibURL(url_string)) {
id = Builtin::kUtfLibrary;
- } else if (DartUtils::IsDartWebLibURL(url_string)) {
- id = Builtin::kWebLibrary;
} else {
return Dart_Error("Do not know how to load '%s'", url_string);
}
« no previous file with comments | « runtime/bin/dartutils.h ('k') | runtime/bin/web_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698