| Index: net/dns/host_cache.h
|
| diff --git a/net/dns/host_cache.h b/net/dns/host_cache.h
|
| index c0ba45674d3890b27bffe2db661f7d70b60b3327..efc79980c104f2f4440b5c813a452c76c506445e 100644
|
| --- a/net/dns/host_cache.h
|
| +++ b/net/dns/host_cache.h
|
| @@ -15,7 +15,7 @@
|
|
|
| #include "base/gtest_prod_util.h"
|
| #include "base/macros.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| +#include "base/threading/thread_checker.h"
|
| #include "base/time/time.h"
|
| #include "net/base/address_family.h"
|
| #include "net/base/address_list.h"
|
| @@ -30,7 +30,7 @@ class ListValue;
|
| namespace net {
|
|
|
| // Cache used by HostResolver to map hostnames to their resolved result.
|
| -class NET_EXPORT HostCache : NON_EXPORTED_BASE(public base::NonThreadSafe) {
|
| +class NET_EXPORT HostCache {
|
| public:
|
| struct Key {
|
| Key(const std::string& hostname, AddressFamily address_family,
|
| @@ -219,6 +219,8 @@ class NET_EXPORT HostCache : NON_EXPORTED_BASE(public base::NonThreadSafe) {
|
| int network_changes_;
|
| EvictionCallback eviction_callback_;
|
|
|
| + THREAD_CHECKER(thread_checker_);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(HostCache);
|
| };
|
|
|
|
|