Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebOriginTrialTokenStatus.h |
| diff --git a/third_party/WebKit/public/platform/WebOriginTrialTokenStatus.h b/third_party/WebKit/public/platform/WebOriginTrialTokenStatus.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..110285f0cd818b9a3ba5d25e4b52c3905c6d9f39 |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/WebOriginTrialTokenStatus.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WebOriginTrialTokenStatus_h |
| +#define WebOriginTrialTokenStatus_h |
| + |
| +namespace blink { |
| + |
| +// The enum entries below are written to histograms and thus cannot be deleted |
| +// or reordered. |
| +// New entries must be added immediately before the end. |
| +enum class WebOriginTrialTokenStatus { |
| + 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
|
| + NotSupported = 1, |
| + Insecure = 2, |
| + NoTokens = 3, |
| + Expired = 4, |
| + WrongFeature = 5, |
| + WrongOrigin = 6, |
| + InvalidSignature = 7, |
| + Malformed = 8, |
| + WrongVersion = 9, |
| + Last = WrongVersion |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebOriginTrialTokenStatus_h |