| 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 BASE_TRACE_EVENT_WINHEAP_DUMP_PROVIDER_WIN_H_ | 5 #ifndef BASE_TRACE_EVENT_WINHEAP_DUMP_PROVIDER_WIN_H_ |
| 6 #define BASE_TRACE_EVENT_WINHEAP_DUMP_PROVIDER_WIN_H_ | 6 #define BASE_TRACE_EVENT_WINHEAP_DUMP_PROVIDER_WIN_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <set> | 10 #include <set> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
| 11 #include "base/trace_event/memory_dump_provider.h" | 14 #include "base/trace_event/memory_dump_provider.h" |
| 12 | 15 |
| 13 namespace base { | 16 namespace base { |
| 14 namespace trace_event { | 17 namespace trace_event { |
| 15 | 18 |
| 16 // A structure containing some information about a given heap. | 19 // A structure containing some information about a given heap. |
| 17 struct WinHeapInfo { | 20 struct WinHeapInfo { |
| 18 HANDLE heap_id; | 21 HANDLE heap_id; |
| 19 size_t committed_size; | 22 size_t committed_size; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 48 WinHeapDumpProvider() {} | 51 WinHeapDumpProvider() {} |
| 49 ~WinHeapDumpProvider() override {} | 52 ~WinHeapDumpProvider() override {} |
| 50 | 53 |
| 51 DISALLOW_COPY_AND_ASSIGN(WinHeapDumpProvider); | 54 DISALLOW_COPY_AND_ASSIGN(WinHeapDumpProvider); |
| 52 }; | 55 }; |
| 53 | 56 |
| 54 } // namespace trace_event | 57 } // namespace trace_event |
| 55 } // namespace base | 58 } // namespace base |
| 56 | 59 |
| 57 #endif // BASE_TRACE_EVENT_WINHEAP_DUMP_PROVIDER_WIN_H_ | 60 #endif // BASE_TRACE_EVENT_WINHEAP_DUMP_PROVIDER_WIN_H_ |
| OLD | NEW |