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

Unified Diff: third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h

Issue 2650863003: [tracing] Switch to new heap dump format. (Closed)
Patch Set: Add 'version' field. Created 3 years, 11 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: third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h
diff --git a/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h b/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h
index d1f84749aea498ddb19fd2b72fd34d718269ad77..976a7c3ca8bc4e025de3a4e8c881d063369315c4 100644
--- a/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h
+++ b/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h
@@ -24,7 +24,6 @@ class DiscardableMemory;
namespace trace_event {
class MemoryAllocatorDump;
class ProcessMemoryDump;
-class TraceEventMemoryOverhead;
} // namespace base
} // namespace trace_event
@@ -122,14 +121,6 @@ class PLATFORM_EXPORT WebProcessMemoryDump final {
const std::string& name,
base::DiscardableMemory* discardable);
- // Dumps heap memory usage. |allocatorName| is used as an absolute name for
- // base::trace_event::ProcessMemoryDump::DumpHeapUsage().
- void dumpHeapUsage(const base::hash_map<base::trace_event::AllocationContext,
- base::trace_event::AllocationMetrics>&
- metrics_by_context,
- base::trace_event::TraceEventMemoryOverhead& overhead,
- const char* allocator_name);
-
private:
FRIEND_TEST_ALL_PREFIXES(WebProcessMemoryDumpTest, IntegrationTest);

Powered by Google App Engine
This is Rietveld 408576698