diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-18 01:31:04 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-18 01:31:04 +0000 |
commit | 21e743205216812e6ca165313b7999f94f0fdc3e (patch) | |
tree | 5573b0793a03996eeed1fc01050ca33258061afe /net/http/http_cache_transaction.cc | |
parent | abfef857b0e4f5cad1da9ce0f751283292a4aab6 (diff) | |
download | chromium_src-21e743205216812e6ca165313b7999f94f0fdc3e.zip chromium_src-21e743205216812e6ca165313b7999f94f0fdc3e.tar.gz chromium_src-21e743205216812e6ca165313b7999f94f0fdc3e.tar.bz2 |
Http cache: Add a test to make sure that the cache
works as expected with synchronous responses.
As an added bonus, now changing the default test mode
of kRangeGET_TransactionOK doesn't end up with some tests
hanging, so it is easy to manually verify that all tests
work as expected.
BUG=26729
TEST=unittests
Review URL: http://codereview.chromium.org/501099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34914 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache_transaction.cc')
-rw-r--r-- | net/http/http_cache_transaction.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc index a32efc3..918ebad 100644 --- a/net/http/http_cache_transaction.cc +++ b/net/http/http_cache_transaction.cc @@ -1604,7 +1604,7 @@ int HttpCache::Transaction::DoOverwriteCachedResponse() { } int HttpCache::Transaction::DoTruncateCachedDataComplete(int result) { - // If this response is a redirect, then we can stop writing now. (We don't + // If this response is a redirect, then we can stop writing now. (We don't // need to cache the response body of a redirect.) if (response_.headers->IsRedirect(NULL)) DoneWritingToEntry(true); |