Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: src/heap-profiler.h

Issue 1221433021: Move SmartPointer to base. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/heap-snapshot-generator-inl.h" 9 #include "src/heap-snapshot-generator-inl.h"
9 #include "src/isolate.h" 10 #include "src/isolate.h"
10 #include "src/smart-pointers.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 class HeapSnapshot; 15 class HeapSnapshot;
16 16
17 class HeapProfiler { 17 class HeapProfiler {
18 public: 18 public:
19 explicit HeapProfiler(Heap* heap); 19 explicit HeapProfiler(Heap* heap);
20 ~HeapProfiler(); 20 ~HeapProfiler();
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 List<HeapSnapshot*> snapshots_; 70 List<HeapSnapshot*> snapshots_;
71 SmartPointer<StringsStorage> names_; 71 SmartPointer<StringsStorage> names_;
72 List<v8::HeapProfiler::WrapperInfoCallback> wrapper_callbacks_; 72 List<v8::HeapProfiler::WrapperInfoCallback> wrapper_callbacks_;
73 SmartPointer<AllocationTracker> allocation_tracker_; 73 SmartPointer<AllocationTracker> allocation_tracker_;
74 bool is_tracking_object_moves_; 74 bool is_tracking_object_moves_;
75 }; 75 };
76 76
77 } } // namespace v8::internal 77 } } // namespace v8::internal
78 78
79 #endif // V8_HEAP_PROFILER_H_ 79 #endif // V8_HEAP_PROFILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698