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_ISOLATE_DATA_H_ | 5 #ifndef BIN_ISOLATE_DATA_H_ |
6 #define BIN_ISOLATE_DATA_H_ | 6 #define BIN_ISOLATE_DATA_H_ |
7 | 7 |
8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
10 #include "platform/globals.h" | 10 #include "platform/globals.h" |
11 | 11 |
12 | |
13 namespace dart { | 12 namespace dart { |
14 namespace bin { | 13 namespace bin { |
15 | 14 |
16 // Forward declaration. | 15 // Forward declaration. |
17 class EventHandler; | 16 class EventHandler; |
18 | 17 |
19 // Data associated with every isolate in the standalone VM | 18 // Data associated with every isolate in the standalone VM |
20 // embedding. This is used to free external resources for each isolate | 19 // embedding. This is used to free external resources for each isolate |
21 // when the isolate shuts down. | 20 // when the isolate shuts down. |
22 class IsolateData { | 21 class IsolateData { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 private: | 72 private: |
74 Dart_Handle builtin_lib_; | 73 Dart_Handle builtin_lib_; |
75 | 74 |
76 DISALLOW_COPY_AND_ASSIGN(IsolateData); | 75 DISALLOW_COPY_AND_ASSIGN(IsolateData); |
77 }; | 76 }; |
78 | 77 |
79 } // namespace bin | 78 } // namespace bin |
80 } // namespace dart | 79 } // namespace dart |
81 | 80 |
82 #endif // BIN_ISOLATE_DATA_H_ | 81 #endif // BIN_ISOLATE_DATA_H_ |
OLD | NEW |