| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebOriginTrialTokenStatus_h | 5 #ifndef WebOriginTrialTokenStatus_h |
| 6 #define WebOriginTrialTokenStatus_h | 6 #define WebOriginTrialTokenStatus_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 // The enum entries below are written to histograms and thus cannot be deleted | 10 // The enum entries below are written to histograms and thus cannot be deleted |
| 11 // or reordered. | 11 // or reordered. |
| 12 // New entries must be added immediately before the end. | 12 // New entries must be added immediately before the end. |
| 13 enum class WebOriginTrialTokenStatus { | 13 enum class WebOriginTrialTokenStatus { |
| 14 Success = 0, | 14 Success = 0, |
| 15 NotSupported = 1, | 15 NotSupported = 1, |
| 16 Insecure = 2, | 16 Insecure = 2, |
| 17 NoTokens = 3, | 17 NoTokens = 3, |
| 18 Expired = 4, | 18 Expired = 4, |
| 19 WrongFeature = 5, | 19 WrongFeature = 5, |
| 20 WrongOrigin = 6, | 20 WrongOrigin = 6, |
| 21 InvalidSignature = 7, | 21 InvalidSignature = 7, |
| 22 Malformed = 8, | 22 Malformed = 8, |
| 23 WrongVersion = 9, | 23 WrongVersion = 9, |
| 24 Last = WrongVersion | 24 FeatureDisabled = 10, |
| 25 Last = FeatureDisabled |
| 25 }; | 26 }; |
| 26 | 27 |
| 27 } // namespace blink | 28 } // namespace blink |
| 28 | 29 |
| 29 #endif // WebOriginTrialTokenStatus_h | 30 #endif // WebOriginTrialTokenStatus_h |
| OLD | NEW |