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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOCK_ENUM_H 5 #ifndef MOCK_ENUM_H
6 #define MOCK_ENUM_H 6 #define MOCK_ENUM_H
7 7
8 // Here is our mock enum. Beyond testing it is completely meaningless. 8 // Here is our mock enum. Beyond testing it is completely meaningless.
9 // MockEnum follows strict rules for valid modifications: 9 // MockEnum follows strict rules for valid modifications:
10 // 1. NO reordering of entries 10 // 1. NO reordering of entries
11 // 2. NO deletions of entries 11 // 2. NO deletions of entries
12 // 3. New entries must be added just before mBoundary, never after 12 // 3. New entries must be added just before mBoundary, never after
13 // 13 //
14 enum MockEnum { 14 enum MockEnum {
15 mEntry1, 15 UMA_HISTOGRAM_ID_Entry1,
16 mEntry2, 16 UMA_HISTOGRAM_ID_Entry2,
17 mData1, 17 UMA_HISTOGRAM_ID_Data1,
18 mData2, 18 UMA_HISTOGRAM_ID_Data2,
19 mEntry3, 19 UMA_HISTOGRAM_ID_Entry3,
20 mInfo1, 20 UMA_HISTOGRAM_ID_Info1,
21 mData3, 21 UMA_HISTOGRAM_ID_Data3,
22 mErrata1, 22 UMA_HISTOGRAM_ID_Errata1,
23 mFunction1, 23 UMA_HISTOGRAM_ID_Function1,
24 mInfo2, 24 UMA_HISTOGRAM_ID_Info2,
25 mData4, 25 UMA_HISTOGRAM_ID_Data4,
26 mBoundary // Do not add below here
27 }; 26 };
28 27
29 #endif 28 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698