summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache.cc
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-04 22:43:44 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-04 22:43:44 +0000
commit7b60e5868d392022dd601bbb396acb9c86781271 (patch)
treeff6c9e3519cc44c90dabed5111756a33c13a9a56 /net/http/http_cache.cc
parentf870de84edd4aee692fadf6cfa8d126f6dada6a0 (diff)
downloadchromium_src-7b60e5868d392022dd601bbb396acb9c86781271.zip
chromium_src-7b60e5868d392022dd601bbb396acb9c86781271.tar.gz
chromium_src-7b60e5868d392022dd601bbb396acb9c86781271.tar.bz2
Update a comment.
(This change was supposed to be part of <http://codereview.chromium.org/159463> but I got confused on which client owned the CL, and ended up updating the wrong one!). TBR=darin Review URL: http://codereview.chromium.org/160567 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache.cc')
-rw-r--r--net/http/http_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index af67853..e0b19e5 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -432,7 +432,8 @@ int HttpCache::Transaction::Start(const HttpRequestInfo* request,
// Downgrade to UPDATE if the request has been externally conditionalized.
if (external_validation_.initialized()) {
if (mode_ & WRITE) {
- // Strip off the READ_DATA bit.
+ // Strip off the READ_DATA bit (and maybe add back a READ_META bit
+ // in case READ was off).
mode_ = UPDATE;
} else {
mode_ = NONE;