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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 static bool PostInt32(Dart_Port port_id, int32_t value); | 86 static bool PostInt32(Dart_Port port_id, int32_t value); |
87 | 87 |
88 static const char* kDartScheme; | 88 static const char* kDartScheme; |
89 static const char* kBuiltinLibURL; | 89 static const char* kBuiltinLibURL; |
90 static const char* kCoreLibURL; | 90 static const char* kCoreLibURL; |
91 static const char* kCoreImplLibURL; | 91 static const char* kCoreImplLibURL; |
92 static const char* kIOLibURL; | 92 static const char* kIOLibURL; |
93 static const char* kJsonLibURL; | 93 static const char* kJsonLibURL; |
94 static const char* kUriLibURL; | 94 static const char* kUriLibURL; |
95 static const char* kUtf8LibURL; | 95 static const char* kUtf8LibURL; |
| 96 static const char* kIsolateLibURL; |
96 | 97 |
97 static const char* kIdFieldName; | 98 static const char* kIdFieldName; |
98 | 99 |
99 private: | 100 private: |
100 static const char* GetCanonicalPath(const char* reference_dir, | 101 static const char* GetCanonicalPath(const char* reference_dir, |
101 const char* filename); | 102 const char* filename); |
102 | 103 |
103 DISALLOW_ALLOCATION(); | 104 DISALLOW_ALLOCATION(); |
104 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); | 105 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); |
105 }; | 106 }; |
106 | 107 |
107 #endif // BIN_DARTUTILS_H_ | 108 #endif // BIN_DARTUTILS_H_ |
OLD | NEW |