OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium 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 PartitionAllocMemoryDumpProvider_h | 5 #ifndef PartitionAllocMemoryDumpProvider_h |
6 #define PartitionAllocMemoryDumpProvider_h | 6 #define PartitionAllocMemoryDumpProvider_h |
7 | 7 |
8 #include "base/trace_event/memory_dump_provider.h" | 8 #include "base/trace_event/memory_dump_provider.h" |
| 9 #include "platform/wtf/Noncopyable.h" |
| 10 #include "platform/wtf/ThreadingPrimitives.h" |
9 #include "public/platform/WebCommon.h" | 11 #include "public/platform/WebCommon.h" |
10 #include "wtf/Noncopyable.h" | |
11 #include "wtf/ThreadingPrimitives.h" | |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 namespace trace_event { | 14 namespace trace_event { |
15 | 15 |
16 class AllocationRegister; | 16 class AllocationRegister; |
17 | 17 |
18 } // namespace trace_event | 18 } // namespace trace_event |
19 } // namespace base | 19 } // namespace base |
20 | 20 |
21 namespace blink { | 21 namespace blink { |
(...skipping 21 matching lines...) Expand all Loading... |
43 PartitionAllocMemoryDumpProvider(); | 43 PartitionAllocMemoryDumpProvider(); |
44 | 44 |
45 Mutex allocation_register_mutex_; | 45 Mutex allocation_register_mutex_; |
46 std::unique_ptr<base::trace_event::AllocationRegister> allocation_register_; | 46 std::unique_ptr<base::trace_event::AllocationRegister> allocation_register_; |
47 bool is_heap_profiling_enabled_; | 47 bool is_heap_profiling_enabled_; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace blink | 50 } // namespace blink |
51 | 51 |
52 #endif // PartitionAllocMemoryDumpProvider_h | 52 #endif // PartitionAllocMemoryDumpProvider_h |
OLD | NEW |