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

Unified Diff: components/chrome_cleaner/public/constants/constants.h

Issue 2830273003: Add min and max to ExecutionMode enum. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/chrome_cleaner/public/constants/constants.h
diff --git a/components/chrome_cleaner/public/constants/constants.h b/components/chrome_cleaner/public/constants/constants.h
index d31232ab52bbd7070e4edd035bbbda09cb5e9feb..3616c127cef2770bd270f023ba54c7f009910ef6 100644
--- a/components/chrome_cleaner/public/constants/constants.h
+++ b/components/chrome_cleaner/public/constants/constants.h
@@ -114,6 +114,10 @@ enum class ExecutionMode {
// to the user and logs will only be uploaded if the user opted into Extended
// Safe Browsing Reporting v2.
kPostRebootValidation = 3,
+
+ // Auxiliary enumerators for range checking.
+ kMin = kNone,
+ kMax = kPostRebootValidation,
Joe Mason 2017/04/24 14:36:15 Can you use kNumValues (= kPostRebootValidation +
ftirelo 2017/04/24 15:16:12 Done.
};
} // namespace chrome_cleaner
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698