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

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

Issue 12114021: Use browsers JSON.parse for parsing JSON. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 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 #ifndef BIN_DARTUTILS_H_ 5 #ifndef BIN_DARTUTILS_H_
6 #define BIN_DARTUTILS_H_ 6 #define BIN_DARTUTILS_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/utils.h" 9 #include "bin/utils.h"
10 #include "include/dart_api.h" 10 #include "include/dart_api.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 static const char* kDartScheme; 163 static const char* kDartScheme;
164 static const char* kDartExtensionScheme; 164 static const char* kDartExtensionScheme;
165 static const char* kASyncLibURL; 165 static const char* kASyncLibURL;
166 static const char* kBuiltinLibURL; 166 static const char* kBuiltinLibURL;
167 static const char* kCoreLibURL; 167 static const char* kCoreLibURL;
168 static const char* kCryptoLibURL; 168 static const char* kCryptoLibURL;
169 static const char* kIOLibURL; 169 static const char* kIOLibURL;
170 static const char* kIOLibPatchURL; 170 static const char* kIOLibPatchURL;
171 static const char* kJsonLibURL; 171 static const char* kJsonLibURL;
172 static const char* kJsonLibPatchURL;
172 static const char* kUriLibURL; 173 static const char* kUriLibURL;
173 static const char* kUtfLibURL; 174 static const char* kUtfLibURL;
174 static const char* kIsolateLibURL; 175 static const char* kIsolateLibURL;
175 static const char* kScalarlistLibURL; 176 static const char* kScalarlistLibURL;
176 static const char* kWebLibURL; 177 static const char* kWebLibURL;
177 178
178 static const char* kIdFieldName; 179 static const char* kIdFieldName;
179 180
180 private: 181 private:
181 static const char* GetCanonicalPath(const char* reference_dir, 182 static const char* GetCanonicalPath(const char* reference_dir,
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 void* Peer() const { return cobject_->value.as_external_byte_array.peer; } 414 void* Peer() const { return cobject_->value.as_external_byte_array.peer; }
414 Dart_WeakPersistentHandleFinalizer Callback() const { 415 Dart_WeakPersistentHandleFinalizer Callback() const {
415 return cobject_->value.as_external_byte_array.callback; 416 return cobject_->value.as_external_byte_array.callback;
416 } 417 }
417 418
418 private: 419 private:
419 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); 420 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array);
420 }; 421 };
421 422
422 #endif // BIN_DARTUTILS_H_ 423 #endif // BIN_DARTUTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698