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

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

Issue 1401073002: Add Rappor reporting for grant/deny/cancel/ignore of Mediastream permissions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace unusual case with todo Created 5 years, 1 month 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
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/rappor/rappor.xml
diff --git a/tools/metrics/rappor/rappor.xml b/tools/metrics/rappor/rappor.xml
index aa0111e895fabfe229106aea8be50f5ce5b59ae3..19e18be557749cd8fa47c8707e6d7ad9c2e17930 100644
--- a/tools/metrics/rappor/rappor.xml
+++ b/tools/metrics/rappor/rappor.xml
@@ -511,6 +511,47 @@ components/rappor/rappor_service.cc.
</flags-field>
</rappor-metric>
+<rappor-metric name="Permissions.Action.AudioCapture"
+ type="SAFEBROWSING_RAPPOR_TYPE">
+ <owner>kcarattini@chromium.org</owner>
+ <owner>tsergeant@chromium.org</owner>
+ <summary>
+ The domain+registry of a URL that requested the MediaStream Microphone API.
+ </summary>
+ <string-field name="Scheme">
+ <summary>
+ The scheme of a URL that requested a permission.
+ </summary>
+ </string-field>
+ <string-field name="Host">
+ <summary>
+ The host of a URL that requested a permission.
+ </summary>
+ </string-field>
+ <string-field name="Port">
+ <summary>
+ The port of a URL that requested a permission.
+ </summary>
+ </string-field>
+ <string-field name="Domain">
+ <summary>
+ The domain+registry of a URL that requested a permission.
+ </summary>
+ </string-field>
+ <flags-field name="Actions">
+ <flag>Bit 0: GRANTED</flag>
+ <flag>Bit 1: DENIED</flag>
+ <flag>Bit 2: DISMISSED</flag>
+ <flag>Bit 3: IGNORED</flag>
+ <flag>Bit 4: REVOKED</flag>
+ <flag>Bit 5: REENABLED</flag>
+ <flag>Bit 6: REQUESTED</flag>
+ <summary>
+ Bitfield of the permission actions taken for this permission.
+ </summary>
+ </flags-field>
+</rappor-metric>
+
<rappor-metric name="Permissions.Action.DurableStorage"
type="SAFEBROWSING_RAPPOR_TYPE">
<owner>kcarattini@chromium.org</owner>
@@ -752,6 +793,47 @@ components/rappor/rappor_service.cc.
</flags-field>
</rappor-metric>
+<rappor-metric name="Permissions.Action.VideoCapture"
+ type="SAFEBROWSING_RAPPOR_TYPE">
+ <owner>kcarattini@chromium.org</owner>
+ <owner>tsergeant@chromium.org</owner>
+ <summary>
+ The domain+registry of a URL that requested the MediaStream Camera API.
+ </summary>
+ <string-field name="Scheme">
+ <summary>
+ The scheme of a URL that requested a permission.
+ </summary>
+ </string-field>
+ <string-field name="Host">
+ <summary>
+ The host of a URL that requested a permission.
+ </summary>
+ </string-field>
+ <string-field name="Port">
+ <summary>
+ The port of a URL that requested a permission.
+ </summary>
+ </string-field>
+ <string-field name="Domain">
+ <summary>
+ The domain+registry of a URL that requested a permission.
+ </summary>
+ </string-field>
+ <flags-field name="Actions">
+ <flag>Bit 0: GRANTED</flag>
+ <flag>Bit 1: DENIED</flag>
+ <flag>Bit 2: DISMISSED</flag>
+ <flag>Bit 3: IGNORED</flag>
+ <flag>Bit 4: REVOKED</flag>
+ <flag>Bit 5: REENABLED</flag>
+ <flag>Bit 6: REQUESTED</flag>
+ <summary>
+ Bitfield of the permission actions taken for this permission.
+ </summary>
+ </flags-field>
+</rappor-metric>
+
<rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
<owner>wfh@chromium.org</owner>
<summary>
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698