OLD | NEW |
1 // Copyright 2009-2010 the V8 project authors. All rights reserved. | 1 // Copyright 2009-2010 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_HEAP_PROFILER_H_ | 5 #ifndef V8_HEAP_PROFILER_H_ |
6 #define V8_HEAP_PROFILER_H_ | 6 #define V8_HEAP_PROFILER_H_ |
7 | 7 |
8 #include "src/base/smart-pointers.h" | 8 #include "src/base/smart-pointers.h" |
9 #include "src/isolate.h" | 9 #include "src/isolate.h" |
| 10 #include "src/list.h" |
10 | 11 |
11 namespace v8 { | 12 namespace v8 { |
12 namespace internal { | 13 namespace internal { |
13 | 14 |
14 // Forward declarations. | 15 // Forward declarations. |
15 class AllocationTracker; | 16 class AllocationTracker; |
16 class HeapObjectsMap; | 17 class HeapObjectsMap; |
17 class HeapSnapshot; | 18 class HeapSnapshot; |
18 class StringsStorage; | 19 class StringsStorage; |
19 | 20 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 List<HeapSnapshot*> snapshots_; | 74 List<HeapSnapshot*> snapshots_; |
74 base::SmartPointer<StringsStorage> names_; | 75 base::SmartPointer<StringsStorage> names_; |
75 List<v8::HeapProfiler::WrapperInfoCallback> wrapper_callbacks_; | 76 List<v8::HeapProfiler::WrapperInfoCallback> wrapper_callbacks_; |
76 base::SmartPointer<AllocationTracker> allocation_tracker_; | 77 base::SmartPointer<AllocationTracker> allocation_tracker_; |
77 bool is_tracking_object_moves_; | 78 bool is_tracking_object_moves_; |
78 }; | 79 }; |
79 | 80 |
80 } } // namespace v8::internal | 81 } } // namespace v8::internal |
81 | 82 |
82 #endif // V8_HEAP_PROFILER_H_ | 83 #endif // V8_HEAP_PROFILER_H_ |
OLD | NEW |