Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: components/metrics/call_stack_profile_metrics_provider.h

Issue 1325653003: Type change in StackSamplingProfiler from void* to uintptr_t. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@UMA2_refactor
Patch Set: Moved IPC structures into content/common and merged with dependent CL. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698