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

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

Issue 2708923005: Extensions: Add metrics for Web Request API actions. (Closed)
Patch Set: Change when logging is done. Created 3 years, 10 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 4ae0fc1a0f6d2344445d30cee432445739e38446..8e61d22182f7aff3388a288a1390d5608b745e37 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -19199,6 +19199,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Updates grouped by Extension::HistogramType.</summary>
</histogram>
+<histogram name="Extensions.WebRequestAction" enum="WebRequestAction">
+ <owner>karandeepb@chromium.org</owner>
+ <summary>
+ Counts the number of times an action is requested by extensions as part of
+ the Web Request API. For a given web request stage, multiple actions may be
+ logged.
+ </summary>
+</histogram>
+
<histogram name="Extensions.WebRequestEventFoundFrame" units="boolean">
<owner>rdevlin.cronin@chromium.org</owner>
<summary>
@@ -111335,6 +111344,14 @@ value.
<int value="2" label="WEB_HISTORY_QUERY_TIMED_OUT">Timed out</int>
</enum>
+<enum name="WebRequestAction" type="int">
+ <int value="0" label="CANCEL"/>
+ <int value="1" label="REDIRECT"/>
+ <int value="2" label="MODIFY_REQUEST_HEADERS"/>
+ <int value="3" label="MODIFY_RESPONSE_HEADERS"/>
+ <int value="4" label="SET_AUTH_CREDENTIALS"/>
+</enum>
+
<enum name="WebRtcAudioCodecs" type="int">
<int value="0" label="Unknown"/>
<int value="1" label="Opus"/>

Powered by Google App Engine
This is Rietveld 408576698