Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: net/base/host_cache.cc

Issue 10959022: Merge 157742 - [net] Increase HostCache size to 1000 entries on CrOS. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_cache.cc
===================================================================
--- net/base/host_cache.cc (revision 157789)
+++ net/base/host_cache.cc (working copy)
@@ -72,7 +72,14 @@
// 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;
+#endif
return new HostCache(kMaxHostCacheEntries);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698