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

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: 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
« no previous file with comments | « 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..c4ad11a4e48e9e4ee43f0c4abba266664cbdde6a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -820,6 +820,14 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="HttpCache.HeaderTruncated" units="BooleanTruncated">
gavinp 2013/04/29 16:54:30 Would "TruncatedHeader" and "TruncatedMetadata" be
pasko-google - do not use 2013/04/29 17:31:40 Done.
+ <summary>Whether cache headers were truncated before read.</summary>
+</histogram>
+
+<histogram name="HttpCache.MetadataTruncated" units="BooleanTruncated">
+ <summary>Whether cache entry metadata was truncated before read.</summary>
+</histogram>
+
<histogram name="HttpCache.OfflineStatus" enum="OfflineStatus">
<summary>
Result of a main page HttpCacheTransaction if offline mode had been enabled.
@@ -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"/>
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698