summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.h
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 22:51:53 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 22:51:53 +0000
commitcb4ff9d7374c09b4ff0c8e257e15b81bb7bb42ed (patch)
treec21d92eccc0229847c72b37b370b31440783df39 /net/url_request/url_request.h
parenta57337558a95b22d2808ff890e270cfee22985a8 (diff)
downloadchromium_src-cb4ff9d7374c09b4ff0c8e257e15b81bb7bb42ed.zip
chromium_src-cb4ff9d7374c09b4ff0c8e257e15b81bb7bb42ed.tar.gz
chromium_src-cb4ff9d7374c09b4ff0c8e257e15b81bb7bb42ed.tar.bz2
Re-enabled URLRequestTestHTTP.BasicAuth.
The problem was the test was expecting |response_time| of cached responses to be the timestamp of the original request, rather than the timestamp of the last cache validation. Also updated the header to clarify what |request_time| and |response_time| correspond to in the cached cases. BUG=http://crbug.com/20594 Review URL: http://codereview.chromium.org/197030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r--net/url_request/url_request.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index f45fa07..2e23d72 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -346,13 +346,13 @@ class URLRequest {
void GetAllResponseHeaders(std::string* headers);
// The time at which the returned response was requested. For cached
- // responses, this may be a time well in the past.
+ // responses, this is the last time the cache entry was validated.
const base::Time& request_time() const {
return response_info_.request_time;
}
// The time at which the returned response was generated. For cached
- // responses, this may be a time well in the past.
+ // responses, this is the last time the cache entry was validated.
const base::Time& response_time() const {
return response_info_.response_time;
}