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

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: 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..d4ffa80b3aa99bdaa14893d93e7d9ab99a710cd0 100644
--- a/tools/metrics/rappor/rappor.xml
+++ b/tools/metrics/rappor/rappor.xml
@@ -469,6 +469,45 @@ components/rappor/rappor_service.cc.
</summary>
</rappor-metric>
+<rappor-metric name="Permissions.Action.Camera" type="SAFEBROWSING_RAPPOR_TYPE">
+ <owner>kcarattini@chromium.org</owner>
kcarattini 2015/10/12 06:13:28 Go ahead and put your username here (and below)
tsergeant 2015/10/13 03:31:23 Done.
+ <summary>
+ The domain+registry of a URL that requested the 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="Permissions.Action.DurableStorage"
type="SAFEBROWSING_RAPPOR_TYPE">
<owner>kcarattini@chromium.org</owner>
@@ -549,6 +588,45 @@ components/rappor/rappor_service.cc.
</flags-field>
</rappor-metric>
+<rappor-metric name="Permissions.Action.Mic" type="SAFEBROWSING_RAPPOR_TYPE">
+ <owner>kcarattini@chromium.org</owner>
+ <summary>
+ The domain+registry of a URL that requested the 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.MidiSysEx"
type="SAFEBROWSING_RAPPOR_TYPE">
<owner>kcarattini@chromium.org</owner>

Powered by Google App Engine
This is Rietveld 408576698