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

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

Issue 2477073002: Adding UMA to track previews opt outs and blacklist eligibility (Closed)
Patch Set: typo Created 4 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:
Download patch
« no previous file with comments | « components/previews/core/previews_io_data_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 2041dd4cb7ce57ca4dba3a1acfbd2c7c4ce3e738..9bad1e508bc37531cd7f4636eba4493f7ae5e896 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -48340,6 +48340,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Previews.EligibilityReason.Offline"
+ enum="PreviewsEligibilityReason">
+ <owner>ryansturm@chromium.org</owner>
+ <summary>
+ Whether an offline preview was allowed to be shown or the reason the preview
+ could not be shown to the user.
+ </summary>
+</histogram>
+
<histogram name="Previews.InfoBarAction.LitePage" enum="PreviewsInfoBarAction">
<owner>bengr@chromium.org</owner>
<owner>megjablon@chromium.org</owner>
@@ -48386,6 +48395,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Previews.OptOut.UserOptedOut.Offline"
+ enum="PreviewsUserOptedOut">
+ <owner>ryansturm@chromium.org</owner>
+ <summary>
+ Whether the user chose to reload the full page when shown an offline
+ preview.
+ </summary>
+</histogram>
+
<histogram name="Previews.OriginalContentLength" units="KB">
<owner>ryansturm@chromium.org</owner>
<summary>
@@ -96604,6 +96622,17 @@ value.
<int value="4" label="'Load images' context menu item clicked"/>
</enum>
+<enum name="PreviewsEligibilityReason" type="int">
+ <int value="0" label="Preview Allowed."/>
+ <int value="1" label="Blacklist not created."/>
+ <int value="2" label="Blacklist data not loaded yet from disk."/>
+ <int value="3" label="User opted out of a preview recently."/>
+ <int value="4" label="User is blacklisted for all hosts."/>
+ <int value="5" label="User is blacklisted for the specific host."/>
+ <int value="6" label="The network quality estimate is not available."/>
+ <int value="7" label="The network is not slow enough to show previews."/>
+</enum>
+
<enum name="PreviewsInfoBarAction" type="int">
<int value="0" label="Infobar shown"/>
<int value="1" label="Infobar 'Load original' clicked"/>
@@ -96611,6 +96640,11 @@ value.
<int value="3" label="Infobar dismissed by navigation"/>
</enum>
+<enum name="PreviewsUserOptedOut" type="int">
+ <int value="0" label="The user did not choose to reload the full page."/>
+ <int value="1" label="The user chose to reload the full page."/>
+</enum>
+
<enum name="PrinterServiceEventType" type="int">
<int value="0" label="Printer added"/>
<int value="1" label="Page displayed (Deprecated)"/>
« no previous file with comments | « components/previews/core/previews_io_data_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698