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

Unified Diff: bin/dartutils.cc

Issue 8537023: Implement automatic loading of dart:core_native_fields library (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 1 month 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 | « bin/dartutils.h ('k') | bin/eventhandler.dart » ('j') | bin/eventhandler.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/dartutils.cc
===================================================================
--- bin/dartutils.cc (revision 1545)
+++ bin/dartutils.cc (working copy)
@@ -4,11 +4,13 @@
#include "bin/dartutils.h"
-const char* DartUtils::kBuiltinLibURL = "./dart:builtin-lib";
+const char* DartUtils::kBuiltinLibURL = "dart:builtin-lib";
Ivan Posva 2011/11/16 19:19:53 Please drop the -lib as well.
siva 2011/11/17 00:04:28 Done.
+const char* DartUtils::kCoreLibURL = "dart:core";
+const char* DartUtils::kCoreImplLibURL = "dart:coreimpl";
+const char* DartUtils::kCoreNativeFieldsLibURL = "dart:core-native-fields";
Ivan Posva 2011/11/16 19:19:53 How about "dart:nativewrappers"?
siva 2011/11/17 00:04:28 Done.
const char* DartUtils::kBuiltinLibSpec = "library { }";
Ivan Posva 2011/11/16 19:19:53 Do we still need the kBuiltinLibSpec?
siva 2011/11/17 00:04:28 Removed. On 2011/11/16 19:19:53, Ivan Posva wrote
const char* DartUtils::kIdFieldName = "_id";
Ivan Posva 2011/11/16 19:19:53 Two lines?
siva 2011/11/17 00:04:28 Done.
-
int64_t DartUtils::GetIntegerValue(Dart_Handle value_obj) {
ASSERT(Dart_IsInteger(value_obj));
int64_t value = 0;
« no previous file with comments | « bin/dartutils.h ('k') | bin/eventhandler.dart » ('j') | bin/eventhandler.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698