Index: components/metrics/call_stack_profile_metrics_provider.h |
diff --git a/components/metrics/call_stack_profile_metrics_provider.h b/components/metrics/call_stack_profile_metrics_provider.h |
index d368c99c4ace94222b512b746d79bb3b49db290c..90e3e6ae8fe55016cf0d47d14be0d37d0c355033 100644 |
--- a/components/metrics/call_stack_profile_metrics_provider.h |
+++ b/components/metrics/call_stack_profile_metrics_provider.h |
@@ -18,11 +18,13 @@ class ChromeUserMetricsExtension; |
class CallStackProfileMetricsProvider : public MetricsProvider { |
public: |
// The event that triggered the profile collection. |
+ // This enum should be kept in sync with content/common/profiled_stack_state.h |
enum Trigger { |
UNKNOWN, |
PROCESS_STARTUP, |
JANKY_TASK, |
- THREAD_HUNG |
+ THREAD_HUNG, |
+ TRIGGER_LAST = THREAD_HUNG |
}; |
// Parameters to pass back to the metrics provider. |