Index: base/trace_event/memory_allocator_dump_guid.h |
diff --git a/base/trace_event/memory_allocator_dump_guid.h b/base/trace_event/memory_allocator_dump_guid.h |
index 2a420a2af7e9fb5afb9d2e9e4d2b10bcff4df98c..32bbc6b527ff4bf2438d57826dbf58f53d5709c5 100644 |
--- a/base/trace_event/memory_allocator_dump_guid.h |
+++ b/base/trace_event/memory_allocator_dump_guid.h |
@@ -16,6 +16,11 @@ namespace trace_event { |
class BASE_EXPORT MemoryAllocatorDumpGuid { |
public: |
+ // If the clients of base::SharedMemory should use the global dump guid(s) |
+ // created by SharedMemoryTracker. |
+ static bool UseSharedMemoryBasedGUIDs(); |
+ static void SetUseSharedMemoryBasedGUIDsForTesting(); |
+ |
MemoryAllocatorDumpGuid(); |
explicit MemoryAllocatorDumpGuid(uint64_t guid); |