summaryrefslogtreecommitdiffstats
path: root/net/http/partial_data.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-01 01:59:12 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-01 01:59:12 +0000
commita189bcea9e57ae22f7e9b0b4dfa77583d12fbae0 (patch)
treea33055f4970ef1bd35c4317c6fa9d5e9e863fb5d /net/http/partial_data.h
parenta722d38c7aede45b7addf675d2cc5f86deae3778 (diff)
downloadchromium_src-a189bcea9e57ae22f7e9b0b4dfa77583d12fbae0.zip
chromium_src-a189bcea9e57ae22f7e9b0b4dfa77583d12fbae0.tar.gz
chromium_src-a189bcea9e57ae22f7e9b0b4dfa77583d12fbae0.tar.bz2
Http cache: Add code to restart a network request when the
server doesn't revalidate a partially stored entry, in other words, after we issued a conditional byte range request. BUG=27276, 28850 TEST=unittests Review URL: http://codereview.chromium.org/452017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33412 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/partial_data.h')
-rw-r--r--net/http/partial_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/partial_data.h b/net/http/partial_data.h
index 588e3e5..3a30e0a 100644
--- a/net/http/partial_data.h
+++ b/net/http/partial_data.h
@@ -46,8 +46,8 @@ class PartialData {
// removed.
void SetHeaders(const std::string& headers);
- // Restores the byte-range header that was removed during Init(), by appending
- // the data to the provided |headers|.
+ // Restores the byte-range headers, by appending the byte range to the headers
+ // provided to SetHeaders().
void RestoreHeaders(std::string* headers) const;
// Builds the required |headers| to perform the proper cache validation for