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

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

Issue 378063002: Adding cache hit/miss histograms to DiskBasedCertCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DBCC_MRU_Implement
Patch Set: Resolved merge conflicts (hopefully). Created 6 years, 5 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
« no previous file with comments | « net/http/disk_based_cert_cache_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 24273456cfaf2d957bbc5c852faea2d99be3e598..63dddb88c1faafd009340dbae9457a3e0aa66de7 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3631,6 +3631,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="DiskBasedCertCache.CertIoCacheResult" enum="CacheResult">
+ <owner>brandonsalmon@chromium.org</owner>
+ <summary>
+ Records the outcome of requests to retrieve certificates from the disk
+ cache.
+ </summary>
+</histogram>
+
<histogram name="DiskBasedCertCache.CertIoReadSuccessLeaf"
enum="BooleanSuccess">
<owner>brandonsalmon@chromium.org</owner>
@@ -35750,6 +35758,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="3" label="HTTP_STREAM_FACTORY_IMPL_JOB_MAIN"/>
</enum>
+<enum name="CacheResult" type="int">
+ <int value="0" label="MEMORY_CACHE_HIT"/>
+ <int value="1" label="DISK_CACHE_HIT"/>
+ <int value="2" label="DISK_CACHE_ENTRY_CORRUPT"/>
+ <int value="3" label="DISK_CACHE_ERROR"/>
+ <int value="4" label="CACHE_MISS"/>
+</enum>
+
<enum name="CanvasContextType" type="int">
<int value="0" label="2d"/>
<int value="1" label="webkit-3d"/>
« no previous file with comments | « net/http/disk_based_cert_cache_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698