diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-15 22:14:51 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-15 22:14:51 +0000 |
commit | 2a4588179441c0c390dfe4ac2e2590d5928bb9d7 (patch) | |
tree | 370a3e1175ddfe56474db90b728adafbdb508907 /net | |
parent | 3cec1c2f5b13df34a26907e5f4867ef644a3fc47 (diff) | |
download | chromium_src-2a4588179441c0c390dfe4ac2e2590d5928bb9d7.zip chromium_src-2a4588179441c0c390dfe4ac2e2590d5928bb9d7.tar.gz chromium_src-2a4588179441c0c390dfe4ac2e2590d5928bb9d7.tar.bz2 |
Http cache: Count RESUMABLE requets as REVALIDATEABLE on the infinite cache.
BUG=147383
TEST=none
Review URL: https://codereview.chromium.org/11359199
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/http/infinite_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/infinite_cache.cc b/net/http/infinite_cache.cc index 43759fc..e683509 100644 --- a/net/http/infinite_cache.cc +++ b/net/http/infinite_cache.cc @@ -967,7 +967,7 @@ bool InfiniteCache::Worker::CanReuse(const Details& old, reason = REUSE_VARY; bool have_to_drop = (old.flags & TRUNCATED) && !(old.flags & RESUMABLE); - if (reason && (old.flags & REVALIDATEABLE) && !have_to_drop) + if (reason && (old.flags & (REVALIDATEABLE | RESUMABLE)) && !have_to_drop) reason += REUSE_REVALIDATEABLE; UMA_HISTOGRAM_ENUMERATION("InfiniteCache.ReuseFailure2", reason, 15); |