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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2633523003: Record data: URL metrics for mime types that can run JavaScript. (Closed)
Patch Set: More tests Created 3 years, 11 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 579764af88e3d65748a972badeec900e0ee1eb52..b49d3ca547c1ee7fa5c450ae39abb93a80620389 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -28925,6 +28925,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>The scheme of the URL for each main-frame navigation.</summary>
</histogram>
+<histogram name="Navigation.MainFrameScheme.DataUrl.MimeType"
+ enum="DataUrlMimeType">
+ <owner>meacer@chromium.org</owner>
+ <summary>
+ The mime type of the data: URL for each main-frame navigation. This only
+ contains mime types that can run scripts.
+ </summary>
+</histogram>
+
<histogram name="Navigation.MainFrameSchemeDifferentPage"
enum="NavigationScheme">
<owner>cbentzel@chromium.org</owner>
@@ -82191,6 +82200,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="15" label="Snackbar promo dismissed (no action taken)"/>
</enum>
+<enum name="DataUrlMimeType" type="int">
+ <int value="0" label="Other"/>
+ <int value="1" label="HTML"/>
+ <int value="2" label="XHTML"/>
+ <int value="3" label="PDF"/>
+ <int value="4" label="SVG"/>
+</enum>
+
<enum name="DataUsageReportSubmissionResult" type="int">
<int value="0" label="Successful"/>
<int value="1" label="Failed"/>

Powered by Google App Engine
This is Rietveld 408576698