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

Side by Side Diff: tools/strict_enum_value_checker/changed_file_6.h

Issue 170233008: Add presubmit check and automatic update script for ExtensionPermission enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MOCK_ENUM_H
6 #define MOCK_ENUM_H
7
8 // Here is our mock enum. Beyond testing it is completely meaningless.
9 // MockEnum follows strict rules for valid modifications:
10 // 1. NO reordering of entries
11 // 2. NO deletions of entries
12 // 3. New entries must be added just before mBoundary, never after
13 //
14 mBoundary // Do not add below here
15 enum MockEnum {
16 mEntry1,
17 mEntry2,
18 mData1,
19 mData2,
20 mEntry3,
21 mInfo1,
22 mData3,
23 mError1,
24 mFunction1,
25 mInfo2,
26 mData4,
27 };
28
29 #endif
OLDNEW
« no previous file with comments | « tools/strict_enum_value_checker/changed_file_5.h ('k') | tools/strict_enum_value_checker/changed_file_7.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698