OLD | NEW |
---|---|
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ | 5 #ifndef COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ |
6 #define COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ | 6 #define COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ |
7 | 7 |
8 // Constants shared by the Chromium and the Chrome Cleanaup tool repos. | 8 // Constants shared by the Chromium and the Chrome Cleanaup tool repos. |
9 | 9 |
10 namespace chrome_cleaner { | 10 namespace chrome_cleaner { |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
107 // into Extended Safe Browsing Reporting. | 107 // into Extended Safe Browsing Reporting. |
108 kScanning = 1, | 108 kScanning = 1, |
109 // The cleaner will run in cleanup mode only. No UI will be shown to the | 109 // The cleaner will run in cleanup mode only. No UI will be shown to the |
110 // user (UI handled by Chrome) and logs will only be uploaded if the user | 110 // user (UI handled by Chrome) and logs will only be uploaded if the user |
111 // opted into Extended Safe Browsing Reporting v2. | 111 // opted into Extended Safe Browsing Reporting v2. |
112 kCleanup = 2, | 112 kCleanup = 2, |
113 // The cleaner will run in post-reboot validation mode. No UI will be shown | 113 // The cleaner will run in post-reboot validation mode. No UI will be shown |
114 // to the user and logs will only be uploaded if the user opted into Extended | 114 // to the user and logs will only be uploaded if the user opted into Extended |
115 // Safe Browsing Reporting v2. | 115 // Safe Browsing Reporting v2. |
116 kPostRebootValidation = 3, | 116 kPostRebootValidation = 3, |
117 | |
118 // Auxiliary enumerators for range checking. | |
119 kMin = kNone, | |
120 kMax = kPostRebootValidation, | |
Joe Mason
2017/04/24 14:36:15
Can you use kNumValues (= kPostRebootValidation +
ftirelo
2017/04/24 15:16:12
Done.
| |
117 }; | 121 }; |
118 | 122 |
119 } // namespace chrome_cleaner | 123 } // namespace chrome_cleaner |
120 | 124 |
121 #endif // COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ | 125 #endif // COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ |
OLD | NEW |