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/histograms/histograms.xml

Issue 27047003: Precache tracking database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@precache
Patch Set: Changed components_tests.gyp to depend on precache_core target instead of precache target Created 7 years 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/precache/core/precache_url_table_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 110bbcdbcc2ea50b0a2fa34ec443e3c00e193841..54ae171cb42f00b77797c07de6292738c907119c 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -13874,6 +13874,28 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="Precache.DownloadedNonPrecache" units="bytes">
+ <summary>
+ The number of bytes that were downloaded over the network for HTTP/HTTPS
+ fetches that were not motivated by precaching. Logged per-request.
+ </summary>
+</histogram>
+
+<histogram name="Precache.DownloadedPrecacheMotivated" units="bytes">
+ <summary>
+ The number of bytes that were downloaded because of precaching. Logged
+ per-request.
+ </summary>
+</histogram>
+
+<histogram name="Precache.Saved" units="bytes">
+ <summary>
+ The number of bytes during user browsing that were served from the cache,
+ but would have been downloaded over a network if precaching was disabled.
+ Logged per-request.
+ </summary>
+</histogram>
+
<histogram name="Prerender.Event" enum="PrerenderEvent">
<summary>
Enumeration of what events related to prerendering have occurred.
@@ -31964,6 +31986,13 @@ other types of suffix sets.
<affected-histogram name="Plugin.PpapiPluginLoadResult"/>
</fieldtrial>
+<fieldtrial name="PrecacheCellular" separator=".">
+ <group name="Cellular"
+ label="covers fetches when connected to cellular networks"/>
+ <affected-histogram name="Precache.DownloadedNonPrecache"/>
+ <affected-histogram name="Precache.Saved"/>
+</fieldtrial>
+
<fieldtrial name="Prefetch">
<group name="ContentPrefetchPrefetchOff"
label="Prefetch is completely disabled."/>
« no previous file with comments | « components/precache/core/precache_url_table_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698