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

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: Remove extra histogram suffixes Created 5 years, 2 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: tools/metrics/rappor/rappor.xml
diff --git a/tools/metrics/rappor/rappor.xml b/tools/metrics/rappor/rappor.xml
index e8ce7fc75ff82f616a2d93978361accfe81b5ba7..d9bf0255157b99b71627ad9acdc0f75539ca1328 100644
--- a/tools/metrics/rappor/rappor.xml
+++ b/tools/metrics/rappor/rappor.xml
@@ -469,6 +469,47 @@ components/rappor/rappor_service.cc.
</summary>
</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>
@@ -710,6 +751,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>

Powered by Google App Engine
This is Rietveld 408576698