| Index: net/dns/host_cache.h
|
| diff --git a/net/dns/host_cache.h b/net/dns/host_cache.h
|
| index e8628fb04ecbc1b64b6480502d41b94d7cb11a00..2b9f40986265f3da37cf5d90532d4e1550a9c59b 100644
|
| --- a/net/dns/host_cache.h
|
| +++ b/net/dns/host_cache.h
|
| @@ -39,7 +39,8 @@ class NET_EXPORT HostCache : NON_EXPORTED_BASE(public base::NonThreadSafe) {
|
| };
|
|
|
| struct Key {
|
| - Key(const std::string& hostname, AddressFamily address_family,
|
| + Key(const std::string& hostname,
|
| + AddressFamily address_family,
|
| HostResolverFlags host_resolver_flags)
|
| : hostname(hostname),
|
| address_family(address_family),
|
| @@ -69,7 +70,9 @@ class NET_EXPORT HostCache : NON_EXPORTED_BASE(public base::NonThreadSafe) {
|
| bool onGet) const;
|
| };
|
|
|
| - typedef ExpiringCache<Key, Entry, base::TimeTicks,
|
| + typedef ExpiringCache<Key,
|
| + Entry,
|
| + base::TimeTicks,
|
| std::less<base::TimeTicks>,
|
| EvictionHandler> EntryMap;
|
|
|
| @@ -108,9 +111,7 @@ class NET_EXPORT HostCache : NON_EXPORTED_BASE(public base::NonThreadSafe) {
|
| FRIEND_TEST_ALL_PREFIXES(HostCacheTest, NoCache);
|
|
|
| // Returns true if this HostCache can contain no entries.
|
| - bool caching_is_disabled() const {
|
| - return entries_.max_entries() == 0;
|
| - }
|
| + bool caching_is_disabled() const { return entries_.max_entries() == 0; }
|
|
|
| // Map from hostname (presumably in lowercase canonicalized format) to
|
| // a resolved result entry.
|
|
|