Index: base/trace_event/process_memory_dump.h |
diff --git a/base/trace_event/process_memory_dump.h b/base/trace_event/process_memory_dump.h |
index da18a14b1ca1d2909224011fcb5bc89d0286b69e..7a16aa4a4af0389697e2a7908f66b77043f6c653 100644 |
--- a/base/trace_event/process_memory_dump.h |
+++ b/base/trace_event/process_memory_dump.h |
@@ -64,6 +64,9 @@ class BASE_EXPORT ProcessMemoryDump { |
// nullptr if not found. |
MemoryAllocatorDump* GetAllocatorDump(const std::string& absolute_name) const; |
+ MemoryAllocatorDump* GetOrCreateAllocatorDump( |
ericrk
2015/10/02 18:30:11
Can we remove the similar function from SkTraceMem
Primiano Tucci (use gerrit)
2015/10/05 14:24:25
OK I'll do that in a separate CL (at this point be
|
+ const std::string& absolute_name); |
+ |
// Creates a shared MemoryAllocatorDump, to express cross-process sharing. |
// Shared allocator dumps are allowed to have duplicate guids within the |
// global scope, in order to reference the same dump from multiple processes. |