Index: base/trace_event/trace_config.h |
diff --git a/base/trace_event/trace_config.h b/base/trace_event/trace_config.h |
index b787f6710749220ca864d32261d3bf1e60bccbbc..afa07c8806ae5f890762ec3ef664552b39600fc7 100644 |
--- a/base/trace_event/trace_config.h |
+++ b/base/trace_event/trace_config.h |
@@ -7,6 +7,7 @@ |
#include <stdint.h> |
+#include <set> |
#include <string> |
#include <vector> |
@@ -69,6 +70,11 @@ class BASE_EXPORT TraceConfig { |
// Reset the values in the config. |
void Clear(); |
+ // Set of memory dump modes allowed for the tracing session. The explicitly |
+ // triggered dumps will be successful only if the dump mode is allowed in |
+ // the config. |
+ std::set<MemoryDumpLevelOfDetail> allowed_dump_modes; |
+ |
std::vector<Trigger> triggers; |
HeapProfiler heap_profiler_options; |
}; |