OLD | NEW |
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 static const char* kDartExtensionScheme; | 120 static const char* kDartExtensionScheme; |
121 static const char* kBuiltinLibURL; | 121 static const char* kBuiltinLibURL; |
122 static const char* kCoreLibURL; | 122 static const char* kCoreLibURL; |
123 static const char* kCoreImplLibURL; | 123 static const char* kCoreImplLibURL; |
124 static const char* kCryptoLibURL; | 124 static const char* kCryptoLibURL; |
125 static const char* kIOLibURL; | 125 static const char* kIOLibURL; |
126 static const char* kJsonLibURL; | 126 static const char* kJsonLibURL; |
127 static const char* kUriLibURL; | 127 static const char* kUriLibURL; |
128 static const char* kUtfLibURL; | 128 static const char* kUtfLibURL; |
129 static const char* kIsolateLibURL; | 129 static const char* kIsolateLibURL; |
| 130 static const char* kScalarlistLibURL; |
130 static const char* kWebLibURL; | 131 static const char* kWebLibURL; |
131 | 132 |
132 static const char* kIdFieldName; | 133 static const char* kIdFieldName; |
133 | 134 |
134 private: | 135 private: |
135 static const char* GetCanonicalPath(const char* reference_dir, | 136 static const char* GetCanonicalPath(const char* reference_dir, |
136 const char* filename); | 137 const char* filename); |
137 | 138 |
138 DISALLOW_ALLOCATION(); | 139 DISALLOW_ALLOCATION(); |
139 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); | 140 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 void* Peer() const { return cobject_->value.as_external_byte_array.peer; } | 363 void* Peer() const { return cobject_->value.as_external_byte_array.peer; } |
363 Dart_PeerFinalizer Callback() const { | 364 Dart_PeerFinalizer Callback() const { |
364 return cobject_->value.as_external_byte_array.callback; | 365 return cobject_->value.as_external_byte_array.callback; |
365 } | 366 } |
366 | 367 |
367 private: | 368 private: |
368 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); | 369 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); |
369 }; | 370 }; |
370 | 371 |
371 #endif // BIN_DARTUTILS_H_ | 372 #endif // BIN_DARTUTILS_H_ |
OLD | NEW |