1 // Copyright 2023 The Chromium Authors 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 BASE_NOT_FATAL_UNTIL_H_ 6 #define BASE_NOT_FATAL_UNTIL_H_ 7 8 namespace base { 9 10 // Add new entries a few milestones into the future whenever necessary. 11 // M here refers to milestones, see chrome/VERSION's MAJOR field that updates 12 // when chromium branches. 13 // 14 // To clean up old entries remove the already-fatal argument from CHECKs as well 15 // as from this list. This generates better-optimized CHECKs in official builds. 16 enum class NotFatalUntil { 17 NoSpecifiedMilestoneInternal = -1, 18 M120 = 120, 19 M121 = 121, 20 M122 = 122, 21 M123 = 123, 22 M124 = 124, 23 M125 = 125, 24 M126 = 126, 25 M127 = 127, 26 M128 = 128, 27 M129 = 129, 28 M130 = 130, 29 M131 = 131, 30 M132 = 132, 31 M133 = 133, 32 M134 = 134, 33 M135 = 135, 34 M136 = 136, 35 M137 = 137, 36 M138 = 138, 37 M139 = 139, 38 M140 = 140, 39 M141 = 141, 40 M142 = 142, 41 M143 = 143, 42 M144 = 144, 43 M145 = 145, 44 M146 = 146, 45 M147 = 147, 46 M148 = 148, 47 M149 = 149, 48 M150 = 150, 49 M151 = 151, 50 M152 = 152, 51 M153 = 153, 52 M154 = 154, 53 M155 = 155, 54 M156 = 156, 55 M157 = 157, 56 M158 = 158, 57 M159 = 159, 58 M160 = 160, 59 M161 = 161, 60 M162 = 162, 61 M163 = 163, 62 M164 = 164, 63 M165 = 165, 64 M166 = 166, 65 M167 = 167, 66 M168 = 168, 67 M169 = 169, 68 M170 = 170, 69 M171 = 171, 70 M172 = 172, 71 M173 = 173, 72 M174 = 174, 73 M175 = 175, 74 M176 = 176, 75 M177 = 177, 76 M178 = 178, 77 M179 = 179, 78 M180 = 180, 79 M181 = 181, 80 M182 = 182, 81 M183 = 183, 82 M184 = 184, 83 M185 = 185, 84 M186 = 186, 85 M187 = 187, 86 M188 = 188, 87 M189 = 189, 88 M190 = 190, 89 M191 = 191, 90 M192 = 192, 91 M193 = 193, 92 M194 = 194, 93 M195 = 195, 94 M196 = 196, 95 M197 = 197, 96 M198 = 198, 97 M199 = 199, 98 M200 = 200, 99 }; 100 101 } // namespace base 102 103 #endif // BASE_NOT_FATAL_UNTIL_H_ 104