Index: base/trace_event/memory_infra_background_whitelist.h |
diff --git a/base/trace_event/memory_infra_background_whitelist.h b/base/trace_event/memory_infra_background_whitelist.h |
index b8d704ae241c27d31d7e47fc4f4a4804590c8f04..11900109af71ce0965c19f08b8a3fa85d33f7fed 100644 |
--- a/base/trace_event/memory_infra_background_whitelist.h |
+++ b/base/trace_event/memory_infra_background_whitelist.h |
@@ -18,6 +18,10 @@ namespace trace_event { |
// Checks if the given |mdp_name| is in the whitelist. |
bool BASE_EXPORT IsMemoryDumpProviderWhitelisted(const char* mdp_name); |
+// Checks if the given |mdp_name| is required for summary dumps. |
+bool BASE_EXPORT |
+IsMemoryDumpProviderWhitelistedForSummary(const char* mdp_name); |
+ |
// Checks if the given |name| matches any of the whitelisted patterns. |
bool BASE_EXPORT IsMemoryAllocatorDumpNameWhitelisted(const std::string& name); |
@@ -25,6 +29,8 @@ bool BASE_EXPORT IsMemoryAllocatorDumpNameWhitelisted(const std::string& name); |
// the list must be nullptr. |
void BASE_EXPORT SetDumpProviderWhitelistForTesting(const char* const* list); |
void BASE_EXPORT |
+SetDumpProviderSummaryWhitelistForTesting(const char* const* list); |
+void BASE_EXPORT |
SetAllocatorDumpNameWhitelistForTesting(const char* const* list); |
} // namespace trace_event |