| 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 "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 #include "include/dart_native_api.h" | 9 #include "include/dart_native_api.h" |
| 10 | 10 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 } | 156 } |
| 157 | 157 |
| 158 // Create a new Dart InternalError object with the provided message. | 158 // Create a new Dart InternalError object with the provided message. |
| 159 static Dart_Handle NewInternalError(const char* message); | 159 static Dart_Handle NewInternalError(const char* message); |
| 160 | 160 |
| 161 static void SetOriginalWorkingDirectory(); | 161 static void SetOriginalWorkingDirectory(); |
| 162 | 162 |
| 163 static const char* MapLibraryUrl(CommandLineOptions* url_mapping, | 163 static const char* MapLibraryUrl(CommandLineOptions* url_mapping, |
| 164 const char* url_string); | 164 const char* url_string); |
| 165 | 165 |
| 166 static Dart_Handle SetWorkingDirectory(Dart_Handle builtin_lib); |
| 167 |
| 166 static Dart_Handle ResolveScriptUri(Dart_Handle script_uri, | 168 static Dart_Handle ResolveScriptUri(Dart_Handle script_uri, |
| 167 Dart_Handle builtin_lib); | 169 Dart_Handle builtin_lib); |
| 168 | 170 |
| 169 static Dart_Handle FilePathFromUri(Dart_Handle script_uri, | 171 static Dart_Handle FilePathFromUri(Dart_Handle script_uri, |
| 170 Dart_Handle builtin_lib); | 172 Dart_Handle builtin_lib); |
| 171 | 173 |
| 172 static Dart_Handle ResolveUri(Dart_Handle library_url, | 174 static Dart_Handle ResolveUri(Dart_Handle library_url, |
| 173 Dart_Handle url, | 175 Dart_Handle url, |
| 174 Dart_Handle builtin_lib); | 176 Dart_Handle builtin_lib); |
| 175 | 177 |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 } | 510 } |
| 509 | 511 |
| 510 private: | 512 private: |
| 511 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); | 513 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); |
| 512 }; | 514 }; |
| 513 | 515 |
| 514 } // namespace bin | 516 } // namespace bin |
| 515 } // namespace dart | 517 } // namespace dart |
| 516 | 518 |
| 517 #endif // BIN_DARTUTILS_H_ | 519 #endif // BIN_DARTUTILS_H_ |
| OLD | NEW |