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

Unified Diff: net/base/host_cache.h

Issue 7466031: AsyncHostResolver: integrated HostCache, temporarily, until we have RR cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed copyright year. Created 9 years, 5 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 | « net/base/async_host_resolver_unittest.cc ('k') | net/base/host_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_cache.h
diff --git a/net/base/host_cache.h b/net/base/host_cache.h
index 17757ae24b5fcacb4993118a6cd9c89d01b24bd5..1b0c3f55c740aa88cd3bf291fc5d2e49f7b91444 100644
--- a/net/base/host_cache.h
+++ b/net/base/host_cache.h
@@ -111,6 +111,9 @@ class NET_API HostCache : NON_EXPORTED_BASE(public base::NonThreadSafe) {
// Note that this map may contain expired entries.
const EntryMap& entries() const;
+ // Creates a default cache.
+ static HostCache* CreateDefaultCache();
+
private:
FRIEND_TEST_ALL_PREFIXES(HostCacheTest, Compact);
FRIEND_TEST_ALL_PREFIXES(HostCacheTest, NoCache);
« no previous file with comments | « net/base/async_host_resolver_unittest.cc ('k') | net/base/host_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698