Index: net/http/http_network_layer.h |
diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h |
index 86679ddb0026178c1ab709034630545ae24f8e4d..c46b50edafe3772754fe728083904a207feddc7b 100644 |
--- a/net/http/http_network_layer.h |
+++ b/net/http/http_network_layer.h |
@@ -12,7 +12,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "base/power_monitor/power_observer.h" |
-#include "base/threading/non_thread_safe.h" |
+#include "base/threading/thread_checker.h" |
#include "net/base/net_export.h" |
#include "net/http/http_transaction_factory.h" |
@@ -20,10 +20,8 @@ namespace net { |
class HttpNetworkSession; |
-class NET_EXPORT HttpNetworkLayer |
- : public HttpTransactionFactory, |
- public base::PowerObserver, |
- NON_EXPORTED_BASE(public base::NonThreadSafe) { |
+class NET_EXPORT HttpNetworkLayer : public HttpTransactionFactory, |
+ public base::PowerObserver { |
public: |
// Construct a HttpNetworkLayer with an existing HttpNetworkSession which |
// contains a valid ProxyService. The HttpNetworkLayer must be destroyed |
@@ -45,6 +43,8 @@ class NET_EXPORT HttpNetworkLayer |
HttpNetworkSession* const session_; |
bool suspended_; |
+ THREAD_CHECKER(thread_checker_); |
+ |
DISALLOW_COPY_AND_ASSIGN(HttpNetworkLayer); |
}; |