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

Unified Diff: tools/about_flags_switches_histogram_ids_checker/mock_enum.h

Issue 344883002: Collect UMA statistics on which chrome://flags lead to chrome restart on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Presubmit hook added. Created 6 years, 5 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: tools/about_flags_switches_histogram_ids_checker/mock_enum.h
diff --git a/tools/strict_enum_value_checker/mock_enum.h b/tools/about_flags_switches_histogram_ids_checker/mock_enum.h
similarity index 63%
copy from tools/strict_enum_value_checker/mock_enum.h
copy to tools/about_flags_switches_histogram_ids_checker/mock_enum.h
index 86e80b7f79d5ad1c3a9a1ad29fef261b0d3c2cd9..d49abc6d3bef7751a61ba8a738c61de53ac87d4a 100644
--- a/tools/strict_enum_value_checker/mock_enum.h
+++ b/tools/about_flags_switches_histogram_ids_checker/mock_enum.h
@@ -12,18 +12,17 @@
// 3. New entries must be added just before mBoundary, never after
//
enum MockEnum {
- mEntry1,
- mEntry2,
- mData1,
- mData2,
- mEntry3,
- mInfo1,
- mData3,
- mError1,
- mFunction1,
- mInfo2,
- mData4,
- mBoundary // Do not add below here
+ UMA_HISTOGRAM_ID_Entry1,
+ UMA_HISTOGRAM_ID_Entry2,
+ UMA_HISTOGRAM_ID_Data1,
+ UMA_HISTOGRAM_ID_Data2,
+ UMA_HISTOGRAM_ID_Entry3,
+ UMA_HISTOGRAM_ID_Info1,
+ UMA_HISTOGRAM_ID_Data3,
+ UMA_HISTOGRAM_ID_Error1,
+ UMA_HISTOGRAM_ID_Function1,
+ UMA_HISTOGRAM_ID_Info2,
+ UMA_HISTOGRAM_ID_Data4,
};
#endif

Powered by Google App Engine
This is Rietveld 408576698