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

Unified Diff: base/trace_event/memory_dump_provider_info.cc

Issue 2876543002: memory-infra: Don't invoke all dump providers in SUMMARY_ONLY mode (Closed)
Patch Set: address comments Created 3 years, 7 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
« no previous file with comments | « base/trace_event/memory_dump_provider_info.h ('k') | base/trace_event/memory_infra_background_whitelist.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/memory_dump_provider_info.cc
diff --git a/base/trace_event/memory_dump_provider_info.cc b/base/trace_event/memory_dump_provider_info.cc
index 6bb711018ba5559e2d678dec54b23787cb0bf74b..34784eb5c0ac41e83fc1d0b0b885ccf86a8fce46 100644
--- a/base/trace_event/memory_dump_provider_info.cc
+++ b/base/trace_event/memory_dump_provider_info.cc
@@ -16,12 +16,14 @@ MemoryDumpProviderInfo::MemoryDumpProviderInfo(
const char* name,
scoped_refptr<SequencedTaskRunner> task_runner,
const MemoryDumpProvider::Options& options,
- bool whitelisted_for_background_mode)
+ bool whitelisted_for_background_mode,
+ bool whitelisted_for_summary_mode)
: dump_provider(dump_provider),
options(options),
name(name),
task_runner(std::move(task_runner)),
whitelisted_for_background_mode(whitelisted_for_background_mode),
+ whitelisted_for_summary_mode(whitelisted_for_summary_mode),
consecutive_failures(0),
disabled(false) {}
« no previous file with comments | « base/trace_event/memory_dump_provider_info.h ('k') | base/trace_event/memory_infra_background_whitelist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698