Index: base/test/trace_event_analyzer.h |
diff --git a/base/test/trace_event_analyzer.h b/base/test/trace_event_analyzer.h |
index a5227a0eeba2a1b9cd4cfc231cc41e877303cbd2..2d3692d281aff2fe16296cc4a5e5ac0c2ffd8430 100644 |
--- a/base/test/trace_event_analyzer.h |
+++ b/base/test/trace_event_analyzer.h |
@@ -563,6 +563,8 @@ class TraceAnalyzer { |
static TraceAnalyzer* Create(const std::string& json_events) |
WARN_UNUSED_RESULT; |
+ void SetIgnoreMetadataEvents(bool ignore) { ignore_metadata_events_ = true; } |
+ |
// Associate BEGIN and END events with each other. This allows Query(OTHER_*) |
// to access the associated event and enables Query(EVENT_DURATION). |
// An end event will match the most recent begin event with the same name, |
@@ -630,6 +632,7 @@ class TraceAnalyzer { |
std::map<TraceEvent::ProcessThreadID, std::string> thread_names_; |
std::vector<TraceEvent> raw_events_; |
+ bool ignore_metadata_events_; |
bool allow_assocation_changes_; |
DISALLOW_COPY_AND_ASSIGN(TraceAnalyzer); |