| 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 BlinkGCMemoryDumpProvider_h | 5 #ifndef BlinkGCMemoryDumpProvider_h |
| 6 #define BlinkGCMemoryDumpProvider_h | 6 #define BlinkGCMemoryDumpProvider_h |
| 7 | 7 |
| 8 #include "base/trace_event/memory_dump_provider.h" | 8 #include "base/trace_event/memory_dump_provider.h" |
| 9 #include "platform/PlatformExport.h" | 9 #include "platform/PlatformExport.h" |
| 10 #include "platform/heap/BlinkGC.h" | 10 #include "platform/heap/BlinkGC.h" |
| 11 #include "public/platform/WebMemoryDumpProvider.h" | |
| 12 #include "wtf/Allocator.h" | 11 #include "wtf/Allocator.h" |
| 13 #include "wtf/ThreadingPrimitives.h" | 12 #include "wtf/ThreadingPrimitives.h" |
| 14 #include "wtf/text/WTFString.h" | 13 #include "wtf/text/WTFString.h" |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 namespace trace_event { | 16 namespace trace_event { |
| 18 | 17 |
| 19 class AllocationRegister; | 18 class AllocationRegister; |
| 20 class MemoryAllocatorDump; | 19 class MemoryAllocatorDump; |
| 21 | 20 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 53 |
| 55 Mutex m_allocationRegisterMutex; | 54 Mutex m_allocationRegisterMutex; |
| 56 std::unique_ptr<base::trace_event::AllocationRegister> m_allocationRegister; | 55 std::unique_ptr<base::trace_event::AllocationRegister> m_allocationRegister; |
| 57 std::unique_ptr<base::trace_event::ProcessMemoryDump> m_currentProcessMemory
Dump; | 56 std::unique_ptr<base::trace_event::ProcessMemoryDump> m_currentProcessMemory
Dump; |
| 58 bool m_isHeapProfilingEnabled; | 57 bool m_isHeapProfilingEnabled; |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace blink | 60 } // namespace blink |
| 62 | 61 |
| 63 #endif | 62 #endif |
| OLD | NEW |