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

Side by Side Diff: runtime/bin/dartutils.cc

Issue 11365196: Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix two pending TODO's. Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "bin/dartutils.h" 5 #include "bin/dartutils.h"
6 6
7 #include "bin/extensions.h" 7 #include "bin/extensions.h"
8 #include "bin/directory.h" 8 #include "bin/directory.h"
9 #include "bin/file.h" 9 #include "bin/file.h"
10 #include "include/dart_api.h" 10 #include "include/dart_api.h"
11 #include "platform/assert.h" 11 #include "platform/assert.h"
12 #include "platform/globals.h" 12 #include "platform/globals.h"
13 13
14 const char* DartUtils::original_working_directory = NULL; 14 const char* DartUtils::original_working_directory = NULL;
15 const char* DartUtils::kDartScheme = "dart:"; 15 const char* DartUtils::kDartScheme = "dart:";
16 const char* DartUtils::kDartExtensionScheme = "dart-ext:"; 16 const char* DartUtils::kDartExtensionScheme = "dart-ext:";
17 const char* DartUtils::kBuiltinLibURL = "dart:builtin"; 17 const char* DartUtils::kBuiltinLibURL = "dart:builtin";
18 const char* DartUtils::kCoreLibURL = "dart:core"; 18 const char* DartUtils::kCoreLibURL = "dart:core";
19 const char* DartUtils::kCoreImplLibURL = "dart:coreimpl";
20 const char* DartUtils::kCryptoLibURL = "dart:crypto"; 19 const char* DartUtils::kCryptoLibURL = "dart:crypto";
21 const char* DartUtils::kIOLibURL = "dart:io"; 20 const char* DartUtils::kIOLibURL = "dart:io";
22 const char* DartUtils::kIOLibPatchURL = "dart:io-patch"; 21 const char* DartUtils::kIOLibPatchURL = "dart:io-patch";
23 const char* DartUtils::kJsonLibURL = "dart:json"; 22 const char* DartUtils::kJsonLibURL = "dart:json";
24 const char* DartUtils::kUriLibURL = "dart:uri"; 23 const char* DartUtils::kUriLibURL = "dart:uri";
25 const char* DartUtils::kUtfLibURL = "dart:utf"; 24 const char* DartUtils::kUtfLibURL = "dart:utf";
26 const char* DartUtils::kIsolateLibURL = "dart:isolate"; 25 const char* DartUtils::kIsolateLibURL = "dart:isolate";
27 26
28 27
29 const char* DartUtils::kIdFieldName = "_id"; 28 const char* DartUtils::kIdFieldName = "_id";
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 657
659 CObject* CObject::NewOSError(OSError* os_error) { 658 CObject* CObject::NewOSError(OSError* os_error) {
660 CObject* error_message = 659 CObject* error_message =
661 new CObjectString(CObject::NewString(os_error->message())); 660 new CObjectString(CObject::NewString(os_error->message()));
662 CObjectArray* result = new CObjectArray(CObject::NewArray(3)); 661 CObjectArray* result = new CObjectArray(CObject::NewArray(3));
663 result->SetAt(0, new CObjectInt32(CObject::NewInt32(kOSError))); 662 result->SetAt(0, new CObjectInt32(CObject::NewInt32(kOSError)));
664 result->SetAt(1, new CObjectInt32(CObject::NewInt32(os_error->code()))); 663 result->SetAt(1, new CObjectInt32(CObject::NewInt32(os_error->code())));
665 result->SetAt(2, error_message); 664 result->SetAt(2, error_message);
666 return result; 665 return result;
667 } 666 }
OLDNEW
« no previous file with comments | « runtime/bin/dartutils.h ('k') | runtime/bin/io.dart » ('j') | runtime/lib/lib_sources.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698