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

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

Issue 14533007: Avoid crashing the browser on truncated reads from the cache backend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 7 years, 8 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
« net/http/http_cache_transaction.cc ('K') | « net/http/http_cache_transaction.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 42526547a35e185b6422722d7996e0a37f5e5db0..f040f6c3af5a3708e09e1dbfcd9662a14e703803 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -826,6 +826,14 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="HttpCache.TruncatedHeader" units="BooleanTruncated">
+ <summary>Whether cache headers were truncated before read.</summary>
+</histogram>
+
+<histogram name="HttpCache.TruncatedMetadata" units="BooleanTruncated">
+ <summary>Whether cache entry metadata was truncated before read.</summary>
+</histogram>
+
<histogram name="Import.ImporterType.AutoImport" enum="ImporterType">
<summary>The importer used on first run Auto Import.</summary>
</histogram>
@@ -6381,6 +6389,11 @@ other types of suffix sets.
<int value="1" label="Memory low, tabs discarded"/>
</enum>
+<enum name="BooleanTruncated" type="int">
+ <int value="0" label="Was Not Truncated"/>
+ <int value="1" label="Was Truncated"/>
+</enum>
+
<enum name="BooleanUsage" type="int">
<int value="0" label="Not Used"/>
<int value="1" label="Used"/>
« net/http/http_cache_transaction.cc ('K') | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698