Chromium Code Reviews| Index: base/memory/discardable_shared_memory.h |
| diff --git a/base/memory/discardable_shared_memory.h b/base/memory/discardable_shared_memory.h |
| index 74bbe8e95f427ba347d696e6c6e9c408e166e167..459deb8ed354ddd257aff2f64062ce0a18e60ed4 100644 |
| --- a/base/memory/discardable_shared_memory.h |
| +++ b/base/memory/discardable_shared_memory.h |
| @@ -29,6 +29,13 @@ namespace base { |
| // access to an instance of this class. |
| class BASE_EXPORT DiscardableSharedMemory { |
| public: |
| + // Used by other allocators to expess sub-allocation from discardable memory |
| + // heap for tracing. To expess any suballocation, the dump providers need to |
| + // create a sub-allocation edge from this node. |
| + // Eg. : ProcessMemoryDump::AddSuballocation(skia_dump_guid, |
|
petrcermak
2015/07/29 16:38:59
nit: There should be a dot after "E" and no space
ssid
2015/07/29 16:57:37
Done.
|
| + // kDiscardableSegmentsDumpName); |
|
petrcermak
2015/07/29 16:38:59
How is this related to the constant??? Shouldn't i
ssid
2015/07/29 16:57:37
Done.
|
| + static const char kAllocatedObjectsDumpName[]; |
| + |
| enum LockResult { SUCCESS, PURGED, FAILED }; |
| DiscardableSharedMemory(); |