diff options
author | ttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 18:43:54 +0000 |
---|---|---|
committer | ttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 18:43:54 +0000 |
commit | 031b28b66db418ac77d2937fc79a0e9c2fd0a57c (patch) | |
tree | b74ae298be2d782d41799686697abfab3acef4ef /net/disk_cache | |
parent | 6c0de3dee01896cf67518b1e77aab44bd3cf9514 (diff) | |
download | chromium_src-031b28b66db418ac77d2937fc79a0e9c2fd0a57c.zip chromium_src-031b28b66db418ac77d2937fc79a0e9c2fd0a57c.tar.gz chromium_src-031b28b66db418ac77d2937fc79a0e9c2fd0a57c.tar.bz2 |
Simple Cache: Enable for media cache
BUG=
Review URL: https://codereview.chromium.org/29763005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r-- | net/disk_cache/cache_creator.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/disk_cache/cache_creator.cc b/net/disk_cache/cache_creator.cc index ccdab1f..1fee41f 100644 --- a/net/disk_cache/cache_creator.cc +++ b/net/disk_cache/cache_creator.cc @@ -82,7 +82,8 @@ int CacheCreator::Run() { // TODO(gavinp,pasko): Turn Simple Cache on for more cache types as // appropriate. if (backend_type_ == net::CACHE_BACKEND_SIMPLE && - (type_ == net::DISK_CACHE || type_ == net::APP_CACHE)) { + (type_ == net::DISK_CACHE || type_ == net::APP_CACHE || + type_ == net::MEDIA_CACHE)) { disk_cache::SimpleBackendImpl* simple_cache = new disk_cache::SimpleBackendImpl(path_, max_bytes_, type_, thread_.get(), net_log_); |