Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: base/trace_event/memory_allocator_dump_guid.h

Issue 2923123004: [memory-infra] Add API to ProcessMemoryDump to create ownership edges for base::SharedMemory (Closed)
Patch Set: fix typo. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/memory/shared_memory_tracker.cc ('k') | base/trace_event/memory_allocator_dump_guid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « base/memory/shared_memory_tracker.cc ('k') | base/trace_event/memory_allocator_dump_guid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698