Index: base/trace_event/trace_config.h |
diff --git a/base/trace_event/trace_config.h b/base/trace_event/trace_config.h |
index 001cecd7a897bc4dae7537bbae6a7c7cf8c089d7..9d10e322fee805fcd146a7cfc20d38563dd211c0 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; |
}; |