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

Unified Diff: gin/v8_isolate_memory_dump_provider_unittest.cc

Issue 1262333005: [tracing] Introduce MemoryDumpArgs to enable light and heavy dumps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win and android fix. Created 5 years, 5 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: gin/v8_isolate_memory_dump_provider_unittest.cc
diff --git a/gin/v8_isolate_memory_dump_provider_unittest.cc b/gin/v8_isolate_memory_dump_provider_unittest.cc
index b1693cdf062fc7583f1bf4c3aa9227b7e2471e6a..3a0bfd3a5f3cb82a2f776743fe72eae9e1d4e324 100644
--- a/gin/v8_isolate_memory_dump_provider_unittest.cc
+++ b/gin/v8_isolate_memory_dump_provider_unittest.cc
@@ -24,6 +24,8 @@ TEST_F(V8MemoryDumpProviderTest, DumpStatistics) {
scoped_ptr<base::trace_event::ProcessMemoryDump> process_memory_dump(
new base::trace_event::ProcessMemoryDump(nullptr));
instance_->isolate_memory_dump_provider_for_testing()->OnMemoryDump(
+ base::trace_event::MemoryDumpArgs(
+ base::trace_event::MemoryDumpArgs::LEVEL_OF_DETAIL_HIGH),
process_memory_dump.get());
const base::trace_event::ProcessMemoryDump::AllocatorDumpsMap&
allocator_dumps = process_memory_dump->allocator_dumps();

Powered by Google App Engine
This is Rietveld 408576698