Chromium Code Reviews| Index: net/base/host_cache.cc |
| diff --git a/net/base/host_cache.cc b/net/base/host_cache.cc |
| index ae0169cf3b58b84598d8e5bbd73303ae5de0c68a..f94b6869d76bf4e0b1f76f6117ded61774c93c9f 100644 |
| --- a/net/base/host_cache.cc |
| +++ b/net/base/host_cache.cc |
| @@ -72,7 +72,14 @@ const HostCache::EntryMap& HostCache::entries() const { |
| // static |
| HostCache* HostCache::CreateDefaultCache() { |
| +#if defined(OS_CHROMEOS) |
| + // Increase HostCache size for the duration of the async DNS field trial. |
| + // http://crbug.com/143454 |
| + // TODO(szym): Determine the best size. http://crbug.com/114277 |
| + static const size_t kMaxHostCacheEntries = 1000; |
| +#else |
| static const size_t kMaxHostCacheEntries = 100; |
|
jar (doing other things)
2012/09/20 17:24:34
nit: static on these data items seems like a waste
|
| +#endif |
| return new HostCache(kMaxHostCacheEntries); |
| } |