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

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: Rebase 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
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 ed02763f5c3ec157ff9ed712f57a7ce2e4dfffba..423ddf16b98a513c2a4308e6a34314193946321a 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
@@ -26,7 +26,6 @@ class DiscardableMemory;
namespace trace_event {
class MemoryAllocatorDump;
class ProcessMemoryDump;
-class TraceEventMemoryOverhead;
} // namespace base
} // namespace trace_event
@@ -124,15 +123,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 std::unordered_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