OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CANCELABLE_TASK_H_ | 5 #ifndef V8_CANCELABLE_TASK_H_ |
6 #define V8_CANCELABLE_TASK_H_ | 6 #define V8_CANCELABLE_TASK_H_ |
7 | 7 |
8 #include "include/v8-platform.h" | 8 #include "include/v8-platform.h" |
9 #include "src/atomic-utils.h" | 9 #include "src/base/atomic-utils.h" |
10 #include "src/base/macros.h" | 10 #include "src/base/macros.h" |
11 #include "src/base/platform/condition-variable.h" | 11 #include "src/base/platform/condition-variable.h" |
12 #include "src/hashmap.h" | 12 #include "src/hashmap.h" |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 class Cancelable; | 17 class Cancelable; |
18 class Isolate; | 18 class Isolate; |
19 | 19 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 private: | 159 private: |
160 Isolate* isolate_; | 160 Isolate* isolate_; |
161 DISALLOW_COPY_AND_ASSIGN(CancelableIdleTask); | 161 DISALLOW_COPY_AND_ASSIGN(CancelableIdleTask); |
162 }; | 162 }; |
163 | 163 |
164 | 164 |
165 } // namespace internal | 165 } // namespace internal |
166 } // namespace v8 | 166 } // namespace v8 |
167 | 167 |
168 #endif // V8_CANCELABLE_TASK_H_ | 168 #endif // V8_CANCELABLE_TASK_H_ |
OLD | NEW |