Index: net/proxy/dhcp_proxy_script_fetcher_win.h |
diff --git a/net/proxy/dhcp_proxy_script_fetcher_win.h b/net/proxy/dhcp_proxy_script_fetcher_win.h |
index 3ca981d6a62624d256a7b5e52898b3b1d7a7c029..4defdd0208d842e9446d553ae440d548b2db47cf 100644 |
--- a/net/proxy/dhcp_proxy_script_fetcher_win.h |
+++ b/net/proxy/dhcp_proxy_script_fetcher_win.h |
@@ -12,7 +12,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "base/threading/non_thread_safe.h" |
+#include "base/threading/thread_checker.h" |
#include "base/time/time.h" |
#include "base/timer/timer.h" |
#include "net/base/net_export.h" |
@@ -31,8 +31,7 @@ class URLRequestContext; |
// Windows-specific implementation. |
class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin |
: public DhcpProxyScriptFetcher, |
- public base::SupportsWeakPtr<DhcpProxyScriptFetcherWin>, |
- NON_EXPORTED_BASE(public base::NonThreadSafe) { |
+ public base::SupportsWeakPtr<DhcpProxyScriptFetcherWin> { |
public: |
// Creates a DhcpProxyScriptFetcherWin that issues requests through |
// |url_request_context|. |url_request_context| must remain valid for |
@@ -178,6 +177,8 @@ class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin |
// Worker pool we use for all DHCP lookup tasks. |
scoped_refptr<base::SequencedWorkerPool> worker_pool_; |
+ THREAD_CHECKER(thread_checker_); |
+ |
DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptFetcherWin); |
}; |