Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1050)

Unified Diff: third_party/WebKit/public/platform/WebOriginTrialTokenStatus.h

Issue 1909633003: Collect UMA data for Origin Trials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/platform/WebTrialTokenValidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698