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

Unified Diff: tools/about_flags_switches_histogram_ids_checker/changed_file_3.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/changed_file_3.h
diff --git a/tools/strict_enum_value_checker/changed_file_3.h b/tools/about_flags_switches_histogram_ids_checker/changed_file_3.h
similarity index 63%
copy from tools/strict_enum_value_checker/changed_file_3.h
copy to tools/about_flags_switches_histogram_ids_checker/changed_file_3.h
index f839c142322a42a9ebc42287087787fc3ab8471c..ac77b2d0ebfb59de47dbd3d1b2340f4125c22556 100644
--- a/tools/strict_enum_value_checker/changed_file_3.h
+++ b/tools/about_flags_switches_histogram_ids_checker/changed_file_3.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,
- mErrata1,
- 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_Errata1,
+ UMA_HISTOGRAM_ID_Function1,
+ UMA_HISTOGRAM_ID_Info2,
+ UMA_HISTOGRAM_ID_Data4,
};
#endif

Powered by Google App Engine
This is Rietveld 408576698