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

Unified Diff: tools/about_flags_switches_histogram_ids_checker/changed_file_1.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_1.h
diff --git a/tools/strict_enum_value_checker/changed_file_1.h b/tools/about_flags_switches_histogram_ids_checker/changed_file_1.h
similarity index 60%
copy from tools/strict_enum_value_checker/changed_file_1.h
copy to tools/about_flags_switches_histogram_ids_checker/changed_file_1.h
index e74e4083ff51e0f821692197e9107b4705ab8cc8..91676304e8a8babcde459252142483f5a723ef02 100644
--- a/tools/strict_enum_value_checker/changed_file_1.h
+++ b/tools/about_flags_switches_histogram_ids_checker/changed_file_1.h
@@ -12,19 +12,18 @@
// 3. New entries must be added just before mBoundary, never after
//
enum MockEnum {
- mEntry1,
- mEntry2,
- mData1,
- mData2,
- mEntry3,
- mInfo1,
- mData3,
- mError1,
- mFunction1,
- mInfo2,
- mData4,
- mValidInsertion1,
- 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,
+ UMA_HISTOGRAM_ID_ValidInsertion1,
};
#endif

Powered by Google App Engine
This is Rietveld 408576698