| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 155 |
| 156 static Dart_Handle ResolveUri(Dart_Handle library_url, | 156 static Dart_Handle ResolveUri(Dart_Handle library_url, |
| 157 Dart_Handle url, | 157 Dart_Handle url, |
| 158 Dart_Handle builtin_lib); | 158 Dart_Handle builtin_lib); |
| 159 | 159 |
| 160 // Global state that stores the original working directory.. | 160 // Global state that stores the original working directory.. |
| 161 static const char* original_working_directory; | 161 static const char* original_working_directory; |
| 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* kBuiltinLibURL; | 166 static const char* kBuiltinLibURL; |
| 166 static const char* kCoreLibURL; | 167 static const char* kCoreLibURL; |
| 167 static const char* kCryptoLibURL; | 168 static const char* kCryptoLibURL; |
| 168 static const char* kIOLibURL; | 169 static const char* kIOLibURL; |
| 169 static const char* kIOLibPatchURL; | 170 static const char* kIOLibPatchURL; |
| 170 static const char* kJsonLibURL; | 171 static const char* kJsonLibURL; |
| 171 static const char* kUriLibURL; | 172 static const char* kUriLibURL; |
| 172 static const char* kUtfLibURL; | 173 static const char* kUtfLibURL; |
| 173 static const char* kIsolateLibURL; | 174 static const char* kIsolateLibURL; |
| 174 static const char* kScalarlistLibURL; | 175 static const char* kScalarlistLibURL; |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_PeerFinalizer Callback() const { | 415 Dart_PeerFinalizer 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_ |
| OLD | NEW |