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

Unified Diff: tools/strict_enum_value_checker/changed_file_4.h

Issue 1440343003: Change extensions enum presubmit checks to run on upload only (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OWNERS Created 5 years, 1 month 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
« no previous file with comments | « tools/strict_enum_value_checker/changed_file_3.h ('k') | tools/strict_enum_value_checker/changed_file_5.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/strict_enum_value_checker/changed_file_4.h
diff --git a/tools/strict_enum_value_checker/changed_file_4.h b/tools/strict_enum_value_checker/changed_file_4.h
new file mode 100644
index 0000000000000000000000000000000000000000..157153edf9ac25bf60a9c3dd452359a63ed7648b
--- /dev/null
+++ b/tools/strict_enum_value_checker/changed_file_4.h
@@ -0,0 +1,26 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MOCK_ENUM_H
+#define MOCK_ENUM_H
+
+// Here is our mock enum. Beyond testing it is completely meaningless.
+// MockEnum follows strict rules for valid modifications:
+// 1. NO reordering of entries
+// 2. NO deletions of entries
+// 3. New entries must be added just before mBoundary, never after
+//
+ mData1,
+ mData2,
+ mEntry3,
+ mInfo1,
+ mData3,
+ mError1,
+ mFunction1,
+ mInfo2,
+ mData4,
+ mBoundary // Do not add below here
+};
+
+#endif
« no previous file with comments | « tools/strict_enum_value_checker/changed_file_3.h ('k') | tools/strict_enum_value_checker/changed_file_5.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698