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

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

Issue 1797313003: Add a histogram (Net.PacResultForStrippedUrl) that estimates how often PAC scripts depend on the UR… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update some more comments per mpearson's feedback. Created 4 years, 9 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/proxy/proxy_resolver_v8_tracing_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 b533a7f080b3605522396036a7db2dd580fe82a6..6764577bae35c24ceb8e1be7654409b8e1f0d730 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -26273,6 +26273,28 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Net.PacResultForStrippedUrl" enum="PacResultForStrippedUrl">
+ <owner>eroman@chromium.org</owner>
+ <summary>
+ Proxy Auto Config (PAC) allows specifying an arbitrary javascript program to
+ pick network proxies on a per-request basis (based on the URL). This works
+ by calling the script's FindProxyForURL() function with the target URL as
+ its first argument.
+
+ Traditionally, the URL parameter passed into the script contains the exact
+ URL being loaded, except maybe for having stripped the fragment and embedded
+ identity portions of the URL.
+
+ This histogram records what happens when the URL passed into
+ FindProxyForURL() additionally has had its path component stripped. Does it
+ return the same proxy list as when calling FindProxyForURL() with the
+ original (unmodified) URL?
+
+ This comparison is done only when the URL scheme implies a secure channel
+ (i.e. https:// and wss://), in order to gather data for crbug.com/593759.
+ </summary>
+</histogram>
+
<histogram name="Net.Ping_ResponseStartedTime" units="ms">
<obsolete>
Deprecated 4/16/2014. No longer tracked.
@@ -76491,6 +76513,21 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="4" label="Index"/>
</enum>
+<enum name="PacResultForStrippedUrl" type="int">
+ <summary>
+ Result for PAC script experiment as defined in
+ net/proxy/proxy_resolver_v8_tracing.h
+ </summary>
+ <int value="0" label="SKIPPED_FALLBACK_BLOCKING_DNS"/>
+ <int value="1" label="SUCCESS"/>
+ <int value="2" label="SUCCESS_DIFFERENT_ALERTS"/>
+ <int value="3" label="SUCCESS_DIFFERENT_NUM_DNS"/>
+ <int value="4" label="FAIL_ABANDONED"/>
+ <int value="5" label="FAIL_FALLBACK_BLOCKING_DNS"/>
+ <int value="6" label="FAIL_ERROR"/>
+ <int value="7" label="FAIL_DIFFERENT_PROXY_LIST"/>
+</enum>
+
<enum name="PageLoadEvent" type="int">
<obsolete>
Deprecated in favor of {Committed|Provisional|InternalError}LoadEvent
« no previous file with comments | « net/proxy/proxy_resolver_v8_tracing_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698