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

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

Issue 2650863003: [tracing] Switch to new heap dump format. (Closed)
Patch Set: Address comments (heaps_v2) 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: third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.cc
diff --git a/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.cc b/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.cc
index 53a9d665cdb4c808eacef12d54fcd29df7b51068..f3618f84aa40bbfda9e70c0c65c2dd29f1a26db4 100644
--- a/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.cc
+++ b/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.cc
@@ -7,7 +7,6 @@
#include "base/memory/discardable_memory.h"
#include "base/memory/ptr_util.h"
#include "base/strings/stringprintf.h"
-#include "base/trace_event/heap_profiler_heap_dump_writer.h"
#include "base/trace_event/process_memory_dump.h"
#include "base/trace_event/trace_event_argument.h"
#include "base/trace_event/trace_event_memory_overhead.h"
@@ -174,14 +173,4 @@ WebProcessMemoryDump::createDiscardableMemoryAllocatorDump(
return createWebMemoryAllocatorDump(dump);
}
-void WebProcessMemoryDump::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) {
- process_memory_dump_->DumpHeapUsage(metrics_by_context, overhead,
- allocator_name);
-}
-
} // namespace content
« no previous file with comments | « third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h ('k') | tools/gn/bootstrap/bootstrap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698