Index: chrome/common/trace_event_args_whitelist.cc |
diff --git a/chrome/common/trace_event_args_whitelist.cc b/chrome/common/trace_event_args_whitelist.cc |
index 0bffd046166189d2eea614c70215b529ebff4d1a..413bdb6de663d9ed33fd917f1f339e0d16d6f00b 100644 |
--- a/chrome/common/trace_event_args_whitelist.cc |
+++ b/chrome/common/trace_event_args_whitelist.cc |
@@ -8,6 +8,7 @@ |
#include "base/strings/pattern.h" |
#include "base/strings/string_tokenizer.h" |
#include "base/strings/string_util.h" |
+#include "base/trace_event/memory_dump_manager.h" |
namespace { |
@@ -18,12 +19,15 @@ struct WhitelistEntry { |
}; |
const char* const kInputLatencyAllowedArgs[] = {"data", nullptr}; |
+const char* const kMemoryDumpAllowedArgs[] = {"dumps", nullptr}; |
const WhitelistEntry kEventArgsWhitelist[] = { |
{"__metadata", "thread_name", nullptr}, |
{"ipc", "SyncChannel::Send", nullptr}, |
{"toplevel", "*", nullptr}, |
{"latencyInfo", "*", kInputLatencyAllowedArgs}, |
+ {base::trace_event::MemoryDumpManager::kTraceCategory, "*", |
+ kMemoryDumpAllowedArgs}, |
{nullptr, nullptr, nullptr}}; |
const char* kMetadataWhitelist[] = { |