blob: 03d62e98bd0b6cc82d290ba03d715a677629cc67 [file] [log] [blame]
Peter Boström25052092023-12-09 00:27:241// 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
8namespace 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.
16enum class NotFatalUntil {
17 NoSpecifiedMilestoneInternal = -1,
Peter Boströmcf8a1e382023-12-12 14:43:4418 M136 = 136,
19 M137 = 137,
20 M138 = 138,
21 M139 = 139,
22 M140 = 140,
23 M141 = 141,
24 M142 = 142,
25 M143 = 143,
26 M144 = 144,
27 M145 = 145,
28 M146 = 146,
29 M147 = 147,
30 M148 = 148,
31 M149 = 149,
32 M150 = 150,
33 M151 = 151,
34 M152 = 152,
35 M153 = 153,
36 M154 = 154,
37 M155 = 155,
38 M156 = 156,
39 M157 = 157,
40 M158 = 158,
41 M159 = 159,
42 M160 = 160,
43 M161 = 161,
44 M162 = 162,
45 M163 = 163,
46 M164 = 164,
47 M165 = 165,
48 M166 = 166,
49 M167 = 167,
50 M168 = 168,
51 M169 = 169,
52 M170 = 170,
53 M171 = 171,
54 M172 = 172,
55 M173 = 173,
56 M174 = 174,
57 M175 = 175,
58 M176 = 176,
59 M177 = 177,
60 M178 = 178,
61 M179 = 179,
62 M180 = 180,
63 M181 = 181,
64 M182 = 182,
65 M183 = 183,
66 M184 = 184,
67 M185 = 185,
68 M186 = 186,
69 M187 = 187,
70 M188 = 188,
71 M189 = 189,
72 M190 = 190,
73 M191 = 191,
74 M192 = 192,
75 M193 = 193,
76 M194 = 194,
77 M195 = 195,
78 M196 = 196,
79 M197 = 197,
80 M198 = 198,
81 M199 = 199,
82 M200 = 200,
Daniel Chengb3ad7262025-05-27 19:30:1183 M201 = 201,
84 M202 = 202,
85 M203 = 203,
86 M204 = 204,
87 M205 = 205,
88 M206 = 206,
89 M207 = 207,
90 M208 = 208,
91 M209 = 209,
92 M210 = 210,
93 M211 = 211,
94 M212 = 212,
95 M213 = 213,
96 M214 = 214,
97 M215 = 215,
98 M216 = 216,
99 M217 = 217,
100 M218 = 218,
101 M219 = 219,
102 M220 = 220,
103 M221 = 221,
104 M222 = 222,
105 M223 = 223,
106 M224 = 224,
107 M225 = 225,
108 M226 = 226,
109 M227 = 227,
110 M228 = 228,
111 M229 = 229,
112 M230 = 230,
113 M231 = 231,
114 M232 = 232,
115 M233 = 233,
116 M234 = 234,
117 M235 = 235,
Peter Boström25052092023-12-09 00:27:24118};
119
120} // namespace base
121
122#endif // BASE_NOT_FATAL_UNTIL_H_