Index: base/trace_event/trace_config.h |
diff --git a/base/trace_event/trace_config.h b/base/trace_event/trace_config.h |
index 57e61781d7e09c893a2415af0c35538d4f6cd7a0..95f5efc0177aa4cb5cad0853041e32a6d0b622b4 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; |
}; |