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..b5e72edf2774402476a63c6f5a29ed0a5267a1c3 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. |
+ // Keep this enum in sync with content/common/profiled_stack_state.h |
Mike Wittman
2015/09/03 16:58:04
nit: we generally don't use imperative comments in
sydli
2015/09/03 17:18:13
Done.
|
enum Trigger { |
UNKNOWN, |
PROCESS_STARTUP, |
JANKY_TASK, |
- THREAD_HUNG |
+ THREAD_HUNG, |
+ TRIGGER_LAST = THREAD_HUNG |
}; |
// Parameters to pass back to the metrics provider. |