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 | 9 |
10 #include "platform/assert.h" | 10 #include "platform/assert.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 static Dart_Handle ResolveScriptUri(Dart_Handle script_uri, | 165 static Dart_Handle ResolveScriptUri(Dart_Handle script_uri, |
166 Dart_Handle builtin_lib); | 166 Dart_Handle builtin_lib); |
167 | 167 |
168 static Dart_Handle FilePathFromUri(Dart_Handle script_uri, | 168 static Dart_Handle FilePathFromUri(Dart_Handle script_uri, |
169 Dart_Handle builtin_lib); | 169 Dart_Handle builtin_lib); |
170 | 170 |
171 static Dart_Handle PathFromUri(Dart_Handle script_uri, | 171 static Dart_Handle PathFromUri(Dart_Handle script_uri, |
172 Dart_Handle builtin_lib); | 172 Dart_Handle builtin_lib); |
173 | 173 |
174 static Dart_Handle DomainFromUri(Dart_Handle script_uri, | 174 static Dart_Handle HostFromUri(Dart_Handle script_uri, |
175 Dart_Handle builtin_lib); | 175 Dart_Handle builtin_lib); |
176 | 176 |
177 static Dart_Handle PortFromUri(Dart_Handle script_uri, | 177 static Dart_Handle PortFromUri(Dart_Handle script_uri, |
178 Dart_Handle builtin_lib); | 178 Dart_Handle builtin_lib); |
179 | 179 |
180 static Dart_Handle ResolveUri(Dart_Handle library_url, | 180 static Dart_Handle ResolveUri(Dart_Handle library_url, |
181 Dart_Handle url, | 181 Dart_Handle url, |
182 Dart_Handle builtin_lib); | 182 Dart_Handle builtin_lib); |
183 | 183 |
184 // Sniffs the specified text_buffer to see if it contains the magic number | 184 // Sniffs the specified text_buffer to see if it contains the magic number |
185 // representing a script snapshot. If the text_buffer is a script snapshot | 185 // representing a script snapshot. If the text_buffer is a script snapshot |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 } | 516 } |
517 | 517 |
518 private: | 518 private: |
519 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); | 519 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); |
520 }; | 520 }; |
521 | 521 |
522 } // namespace bin | 522 } // namespace bin |
523 } // namespace dart | 523 } // namespace dart |
524 | 524 |
525 #endif // BIN_DARTUTILS_H_ | 525 #endif // BIN_DARTUTILS_H_ |
OLD | NEW |