Index: net/url_request/sdch_dictionary_fetcher.h |
diff --git a/net/url_request/sdch_dictionary_fetcher.h b/net/url_request/sdch_dictionary_fetcher.h |
index 8096b6ac1b8df81f5afd2d6083f87ef385a717c0..adf0122c823b555b8501edea7c3f37fc465c58aa 100644 |
--- a/net/url_request/sdch_dictionary_fetcher.h |
+++ b/net/url_request/sdch_dictionary_fetcher.h |
@@ -16,7 +16,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 "net/base/net_export.h" |
#include "net/base/sdch_manager.h" |
#include "net/url_request/url_fetcher_delegate.h" |
@@ -33,8 +33,7 @@ class URLRequest; |
// them serially, implementing the URLRequest::Delegate interface to |
// handle callbacks (but see above TODO). It tracks all requests, only |
// attempting to fetch each dictionary once. |
-class NET_EXPORT SdchDictionaryFetcher : public URLRequest::Delegate, |
- public base::NonThreadSafe { |
+class NET_EXPORT SdchDictionaryFetcher : public URLRequest::Delegate { |
public: |
typedef base::Callback<void(const std::string& dictionary_text, |
const GURL& dictionary_url, |
@@ -121,6 +120,8 @@ class NET_EXPORT SdchDictionaryFetcher : public URLRequest::Delegate, |
// use while fetching. |
URLRequestContext* const context_; |
+ THREAD_CHECKER(thread_checker_); |
+ |
DISALLOW_COPY_AND_ASSIGN(SdchDictionaryFetcher); |
}; |