Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 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 WebOriginTrialTokenStatus_h | |
| 6 #define WebOriginTrialTokenStatus_h | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 // The enum entries below are written to histograms and thus cannot be deleted | |
| 11 // or reordered. | |
| 12 // New entries must be added immediately before the end. | |
| 13 enum class WebOriginTrialTokenStatus { | |
| 14 Success = 0, | |
|
jochen (gone - plz use gerrit)
2016/05/04 10:55:26
what's the point of specifying the values? as far
chasej
2016/05/04 13:03:59
I wanted the values to be explicit, to make it eas
| |
| 15 NotSupported = 1, | |
| 16 Insecure = 2, | |
| 17 NoTokens = 3, | |
| 18 Expired = 4, | |
| 19 WrongFeature = 5, | |
| 20 WrongOrigin = 6, | |
| 21 InvalidSignature = 7, | |
| 22 Malformed = 8, | |
| 23 WrongVersion = 9, | |
| 24 Last = WrongVersion | |
| 25 }; | |
| 26 | |
| 27 } // namespace blink | |
| 28 | |
| 29 #endif // WebOriginTrialTokenStatus_h | |
| OLD | NEW |