diff options
Diffstat (limited to 'net/disk_cache')
-rw-r--r-- | net/disk_cache/block_files.cc | 4 | ||||
-rw-r--r-- | net/disk_cache/block_files.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/net/disk_cache/block_files.cc b/net/disk_cache/block_files.cc index 9d5de62..3eb4e35 100644 --- a/net/disk_cache/block_files.cc +++ b/net/disk_cache/block_files.cc @@ -8,7 +8,7 @@ #include "base/metrics/histogram.h" #include "base/string_util.h" #include "base/stringprintf.h" -#include "base/thread_checker.h" +#include "base/threading/thread_checker.h" #include "base/time.h" #include "net/disk_cache/cache_util.h" #include "net/disk_cache/file_lock.h" @@ -201,7 +201,7 @@ bool BlockFiles::Init(bool create_files) { if (init_) return false; - thread_checker_.reset(new ThreadChecker); + thread_checker_.reset(new base::ThreadChecker); block_files_.resize(kFirstAdditionalBlockFile); for (int i = 0; i < kFirstAdditionalBlockFile; i++) { diff --git a/net/disk_cache/block_files.h b/net/disk_cache/block_files.h index 5427a58..d677ba3 100644 --- a/net/disk_cache/block_files.h +++ b/net/disk_cache/block_files.h @@ -16,7 +16,9 @@ #include "net/disk_cache/addr.h" #include "net/disk_cache/mapped_file.h" +namespace base { class ThreadChecker; +} namespace disk_cache { @@ -87,7 +89,7 @@ class BlockFiles { char* zero_buffer_; // Buffer to speed-up cleaning deleted entries. FilePath path_; // Path to the backing folder. std::vector<MappedFile*> block_files_; // The actual files. - scoped_ptr<ThreadChecker> thread_checker_; + scoped_ptr<base::ThreadChecker> thread_checker_; FRIEND_TEST_ALL_PREFIXES(DiskCacheTest, BlockFiles_ZeroSizeFile); FRIEND_TEST_ALL_PREFIXES(DiskCacheTest, BlockFiles_InvalidFile); |