// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_NOT_FATAL_UNTIL_H_ #define BASE_NOT_FATAL_UNTIL_H_ namespace base { // Add new entries a few milestones into the future whenever necessary. // M here refers to milestones, see chrome/VERSION's MAJOR field that updates // when chromium branches. // // To clean up old entries remove the already-fatal argument from CHECKs as well // as from this list. This generates better-optimized CHECKs in official builds. enum class NotFatalUntil { NoSpecifiedMilestoneInternal = -1, M136 = 136, M137 = 137, M138 = 138, M139 = 139, M140 = 140, M141 = 141, M142 = 142, M143 = 143, M144 = 144, M145 = 145, M146 = 146, M147 = 147, M148 = 148, M149 = 149, M150 = 150, M151 = 151, M152 = 152, M153 = 153, M154 = 154, M155 = 155, M156 = 156, M157 = 157, M158 = 158, M159 = 159, M160 = 160, M161 = 161, M162 = 162, M163 = 163, M164 = 164, M165 = 165, M166 = 166, M167 = 167, M168 = 168, M169 = 169, M170 = 170, M171 = 171, M172 = 172, M173 = 173, M174 = 174, M175 = 175, M176 = 176, M177 = 177, M178 = 178, M179 = 179, M180 = 180, M181 = 181, M182 = 182, M183 = 183, M184 = 184, M185 = 185, M186 = 186, M187 = 187, M188 = 188, M189 = 189, M190 = 190, M191 = 191, M192 = 192, M193 = 193, M194 = 194, M195 = 195, M196 = 196, M197 = 197, M198 = 198, M199 = 199, M200 = 200, M201 = 201, M202 = 202, M203 = 203, M204 = 204, M205 = 205, M206 = 206, M207 = 207, M208 = 208, M209 = 209, M210 = 210, M211 = 211, M212 = 212, M213 = 213, M214 = 214, M215 = 215, M216 = 216, M217 = 217, M218 = 218, M219 = 219, M220 = 220, M221 = 221, M222 = 222, M223 = 223, M224 = 224, M225 = 225, M226 = 226, M227 = 227, M228 = 228, M229 = 229, M230 = 230, M231 = 231, M232 = 232, M233 = 233, M234 = 234, M235 = 235, }; } // namespace base #endif // BASE_NOT_FATAL_UNTIL_H_