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 "include/dart_api.h" | 9 #include "include/dart_api.h" |
10 #include "platform/globals.h" | 10 #include "platform/globals.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 static Dart_Handle LoadSource(CommandLineOptions* url_mapping, | 75 static Dart_Handle LoadSource(CommandLineOptions* url_mapping, |
76 Dart_Handle library, | 76 Dart_Handle library, |
77 Dart_Handle url, | 77 Dart_Handle url, |
78 Dart_LibraryTag tag, | 78 Dart_LibraryTag tag, |
79 const char* filename); | 79 const char* filename); |
80 | 80 |
81 static const char* kDartScheme; | 81 static const char* kDartScheme; |
82 static const char* kBuiltinLibURL; | 82 static const char* kBuiltinLibURL; |
83 static const char* kCoreLibURL; | 83 static const char* kCoreLibURL; |
84 static const char* kCoreImplLibURL; | 84 static const char* kCoreImplLibURL; |
85 static const char* kCoreNativeWrappersLibURL; | 85 static const char* kIOLibURL; |
| 86 static const char* kNativeWrappersLibURL; |
86 | 87 |
87 static const char* kIdFieldName; | 88 static const char* kIdFieldName; |
88 | 89 |
89 private: | 90 private: |
90 static const char* GetCanonicalPath(const char* reference_dir, | 91 static const char* GetCanonicalPath(const char* reference_dir, |
91 const char* filename); | 92 const char* filename); |
92 | 93 |
93 DISALLOW_ALLOCATION(); | 94 DISALLOW_ALLOCATION(); |
94 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); | 95 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); |
95 }; | 96 }; |
96 | 97 |
97 #endif // BIN_DARTUTILS_H_ | 98 #endif // BIN_DARTUTILS_H_ |
OLD | NEW |