1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103

base / not_fatal_until.h [blame]

// 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,
  M120 = 120,
  M121 = 121,
  M122 = 122,
  M123 = 123,
  M124 = 124,
  M125 = 125,
  M126 = 126,
  M127 = 127,
  M128 = 128,
  M129 = 129,
  M130 = 130,
  M131 = 131,
  M132 = 132,
  M133 = 133,
  M134 = 134,
  M135 = 135,
  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,
};

}  // namespace base

#endif  // BASE_NOT_FATAL_UNTIL_H_