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

Unified Diff: base/trace_event/winheap_dump_provider_win_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: base/trace_event/winheap_dump_provider_win_unittest.cc
diff --git a/base/trace_event/winheap_dump_provider_win_unittest.cc b/base/trace_event/winheap_dump_provider_win_unittest.cc
index 865a1d2f5ce8f445846c9b085901b39ef1a7f7af..5882534d19cba30bc88df234e780c48e12f911bf 100644
--- a/base/trace_event/winheap_dump_provider_win_unittest.cc
+++ b/base/trace_event/winheap_dump_provider_win_unittest.cc
@@ -20,7 +20,8 @@ TEST(WinHeapDumpProviderTest, OnMemoryDump) {
WinHeapDumpProvider::GetInstance();
ASSERT_NE(static_cast<WinHeapDumpProvider*>(nullptr), winheap_dump_provider);
- ASSERT_NO_FATAL_FAILURE(winheap_dump_provider->OnMemoryDump(&pmd));
+ ASSERT_NO_FATAL_FAILURE(winheap_dump_provider->OnMemoryDump(
+ MemoryDumpArgs(MemoryDumpArgs::LEVEL_OF_DETAIL_HIGH), &pmd));
}
} // namespace trace_event

Powered by Google App Engine
This is Rietveld 408576698