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

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: Rebase and CL now only includes type changes. 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..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.
« no previous file with comments | « base/profiler/stack_sampling_profiler_unittest.cc ('k') | components/metrics/call_stack_profile_metrics_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698