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

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

Issue 1041993004: content::ResourceDispatcherHostImpl changes for stale-while-revalidate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s-w-r-yhirano-patch
Patch Set: Use histograms instead of user actions. Created 5 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 | « content/public/common/content_switches.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 fcee21a9910e7d6202151507cc0955688bcfc267..9a41f2139ba1ce61c09dd1e0b2dee111adcce9ab 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -22128,6 +22128,33 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Net.AsyncRevalidation.ReadError" enum="NetErrorCodes">
+ <owner>ricea@chromium.org</owner>
+ <summary>
+ Counts of error codes received while reading the body of an async
+ revalidation before getting a response. Only async revalidations that had a
+ read error are counted.
+ </summary>
+</histogram>
+
+<histogram name="Net.AsyncRevalidation.ResponseError" enum="NetErrorCodes">
+ <owner>ricea@chromium.org</owner>
+ <summary>
+ Counts of error codes received while performing an async revalidation before
+ getting a response. Only async revalidations that had in a response error
+ are counted.
+ </summary>
+</histogram>
+
+<histogram name="Net.AsyncRevalidation.Result" enum="AsyncRevalidationResult">
+ <owner>ricea@chromium.org</owner>
+ <summary>
+ The result of an async revalidation resulting from application of the
+ Cache-Control: stale-while-revalidate directive. All async revalidations are
+ counted.
+ </summary>
+</histogram>
+
<histogram name="Net.AuthGenerateToken_basic" units="milliseconds">
<obsolete>
Deprecated 01/2011 in https://crrev.com/70740
@@ -55558,6 +55585,30 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="4" label="FAILED_HOSTS">Failed during watching HOSTS.</int>
</enum>
+<enum name="AsyncRevalidationResult" type="int">
+ <int value="0" label="LOADED">A new entry was stored in the cache.</int>
+ <int value="1" label="REVALIDATED">
+ The existing cache entry was revalidated.
+ </int>
+ <int value="2" label="NET_ERROR">
+ An error occurred before a response was received.
+ </int>
+ <int value="3" label="READ_ERROR">
+ An error occurred while reading the response body.
+ </int>
+ <int value="4" label="GOT_REDIRECT">A redirect response was received.</int>
+ <int value="5" label="AUTH_FAILED">
+ A request for authentication was received, and no cached credentials were
+ available.
+ </int>
+ <int value="6" label="RESPONSE_TIMEOUT">
+ Timed out before a response was received.
+ </int>
+ <int value="7" label="BODY_TIMEOUT">
+ Timed out while reading the response body.
+ </int>
+</enum>
+
<enum name="AudioCodec" type="int">
<int value="0" label="kUnknownAudioCodec"/>
<int value="1" label="kCodecAAC"/>
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698