diff options
author | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-13 22:20:27 +0000 |
---|---|---|
committer | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-13 22:20:27 +0000 |
commit | e87e58314a411681ced31ef3e13b71a33abdd6da (patch) | |
tree | 24621208c8feb71bd1b253b43ccc4d43f6afa625 /tools/metrics/histograms/histograms.xml | |
parent | 3feb9f51ff39974956e87b3fbc1424318d790531 (diff) | |
download | chromium_src-e87e58314a411681ced31ef3e13b71a33abdd6da.zip chromium_src-e87e58314a411681ced31ef3e13b71a33abdd6da.tar.gz chromium_src-e87e58314a411681ced31ef3e13b71a33abdd6da.tar.bz2 |
[Downloads] Update origin info after each response.
When a download is resumed, a new URL request is sent out. The response
received for this request may contain new ETag and Last-Modified
information which should be used for subsequent resumption attempts.
Otherwise if a resource changes (along with the corresponding ETag)
subsequent partial resumption attempts will all fail even if it should
have succeeded.
BUG=7648
Review URL: https://codereview.chromium.org/74523002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/metrics/histograms/histograms.xml')
-rw-r--r-- | tools/metrics/histograms/histograms.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index 1a2c6d1..53c78d1 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -3209,6 +3209,22 @@ other types of suffix sets. </summary> </histogram> +<histogram name="Download.OriginStateOnFullResumption" + enum="DownloadOriginStateOnResumption"> + <summary> + Changes observed when a response is received for a full download resumption + request. + </summary> +</histogram> + +<histogram name="Download.OriginStateOnPartialResumption" + enum="DownloadOriginStateOnResumption"> + <summary> + Changes observed when a response is received for a partial (byte-range) + download resumption request. + </summary> +</histogram> + <histogram name="Download.PotentialBandwidth" units="Bytes/second"> <summary> The maximum bandwidth (per read) that Chrome could have provided for the @@ -22794,6 +22810,17 @@ other types of suffix sets. <int value="2" label="Opened with plaform handler by user choice"/> </enum> +<enum name="DownloadOriginStateOnResumption" type="int"> + <int value="0" label="No changes"/> + <int value="1" label="New redirects"/> + <int value="2" label="New validators"/> + <int value="3" label="New redirects + validators"/> + <int value="4" label="New Content-Disposition"/> + <int value="5" label="New redirects + Content-Disposition"/> + <int value="6" label="New validators + Content-Disposition"/> + <int value="7" label="New redirects + validators + Content-Disposition"/> +</enum> + <enum name="DownloadSavePackageEvent" type="int"> <int value="0" label="Started"/> <int value="1" label="Cancelled"/> |