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

Unified Diff: components/discardable_memory/common/discardable_shared_memory_heap.h

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: (wip) Created 3 years, 9 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
Index: components/discardable_memory/common/discardable_shared_memory_heap.h
diff --git a/components/discardable_memory/common/discardable_shared_memory_heap.h b/components/discardable_memory/common/discardable_shared_memory_heap.h
index 2d68e253510a4d3c5efb9c8dac64b0bc26fa4365..8c9ff8d1d2012aece076275bae32cd7c39febcc8 100644
--- a/components/discardable_memory/common/discardable_shared_memory_heap.h
+++ b/components/discardable_memory/common/discardable_shared_memory_heap.h
@@ -96,12 +96,6 @@ class DISCARDABLE_MEMORY_EXPORT DiscardableSharedMemoryHeap {
// Dumps memory statistics for chrome://tracing.
bool OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd);
- // Returns a unique identifier for a given tuple of (process id, segment id)
- // that can be used to match memory dumps across different processes.
- static base::trace_event::MemoryAllocatorDumpGuid GetSegmentGUIDForTracing(
- uint64_t tracing_process_id,
- int32_t segment_id);
-
// Returns a MemoryAllocatorDump for a given span on |pmd| with the size of
// the span.
base::trace_event::MemoryAllocatorDump* CreateMemoryAllocatorDump(

Powered by Google App Engine
This is Rietveld 408576698