diff options
author | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-21 17:20:42 +0000 |
---|---|---|
committer | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-21 17:20:42 +0000 |
commit | d68b64ed7ca42b23b6c544e316d6d3c9fdd084ef (patch) | |
tree | 4b492a22fb74226f5d1a7e53c66ef33bc9f37dc1 /net | |
parent | 41977ddd243018d25356cf0bc0f3b39574728751 (diff) | |
download | chromium_src-d68b64ed7ca42b23b6c544e316d6d3c9fdd084ef.zip chromium_src-d68b64ed7ca42b23b6c544e316d6d3c9fdd084ef.tar.gz chromium_src-d68b64ed7ca42b23b6c544e316d6d3c9fdd084ef.tar.bz2 |
Migrate AppCache to simple cache backend on Android.
BUG=283896
Review URL: https://chromiumcodereview.appspot.com/23503069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/disk_cache/cache_creator.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/disk_cache/cache_creator.cc b/net/disk_cache/cache_creator.cc index 07a26c9..857d171 100644 --- a/net/disk_cache/cache_creator.cc +++ b/net/disk_cache/cache_creator.cc @@ -79,10 +79,10 @@ CacheCreator::~CacheCreator() { } int CacheCreator::Run() { - // TODO(gavinp,pasko): While simple backend development proceeds, we're only - // testing it against net::DISK_CACHE. Turn it on for more cache types as + // TODO(gavinp,pasko): Turn Simple Cache on for more cache types as // appropriate. - if (backend_type_ == net::CACHE_BACKEND_SIMPLE && type_ == net::DISK_CACHE) { + if (backend_type_ == net::CACHE_BACKEND_SIMPLE && + (type_ == net::DISK_CACHE || type_ == net::APP_CACHE)) { disk_cache::SimpleBackendImpl* simple_cache = new disk_cache::SimpleBackendImpl(path_, max_bytes_, type_, thread_.get(), net_log_); |