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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 1909633003: Collect UMA data for Origin Trials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments 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:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 815452c21c071011f526ce3ef9836cb77f393fdb..279ef7090fd27a7df9d09a7a95d1baf370f0826d 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -34198,6 +34198,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>The number of clicks on the origin chip.</summary>
</histogram>
+<histogram name="OriginTrials.FeatureEnabled" enum="OriginTrialEnableResult">
+ <owner>chasej@chromium.org</owner>
+ <owner>iclelland@chromium.org</owner>
+ <summary>
+ Counts the results of origin trial checks to enable experimental features.
+ The result for each feature check is counted at most once per execution
+ context (e.g. page, worker).
+ </summary>
+</histogram>
+
+<histogram name="OriginTrials.FeatureEnabled.MessageGenerated"
+ enum="OriginTrialMessageGeneratedResult">
+ <owner>chasej@chromium.org</owner>
+ <owner>iclelland@chromium.org</owner>
+ <summary>
+ Counts how often an error message is generated for each origin trial check
+ to enable an experimental feature.
+ </summary>
+</histogram>
+
<histogram name="OSX.BluetoothAvailability" enum="BluetoothAvailability">
<owner>erikchen@chromium.org</owner>
<summary>
@@ -79164,6 +79184,24 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="1" label="Active other profiles."/>
</enum>
+<enum name="OriginTrialEnableResult" type="int">
+ <int value="0" label="Success"/>
+ <int value="1" label="NotSupported"/>
+ <int value="2" label="Insecure"/>
+ <int value="3" label="NoTokens"/>
+ <int value="4" label="Expired"/>
+ <int value="5" label="WrongFeature"/>
+ <int value="6" label="WrongOrigin"/>
+ <int value="7" label="InvalidSignature"/>
+ <int value="8" label="Malformed"/>
+</enum>
Marijn Kruisselbrink 2016/05/02 18:31:34 You're missing WrongVersion
chasej 2016/05/03 16:55:10 Good catch - added.
+
+<enum name="OriginTrialMessageGeneratedResult" type="int">
+ <int value="0" label="NotRequested"/>
+ <int value="1" label="Yes"/>
+ <int value="2" label="No"/>
+</enum>
+
<enum name="OSAgnosticErrno" type="int">
<summary>Errno values with the same meanings on Mac/Win/Linux.</summary>
<int value="0" label="0">No error</int>

Powered by Google App Engine
This is Rietveld 408576698