| Index: net/disk_cache/disk_cache_test_base.h
|
| ===================================================================
|
| --- net/disk_cache/disk_cache_test_base.h (revision 49603)
|
| +++ net/disk_cache/disk_cache_test_base.h (working copy)
|
| @@ -6,7 +6,7 @@
|
| #define NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_
|
|
|
| #include "base/basictypes.h"
|
| -#include "base/time.h"
|
| +#include "base/thread.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/platform_test.h"
|
|
|
| @@ -35,7 +35,8 @@
|
| DiskCacheTestWithCache()
|
| : cache_(NULL), cache_impl_(NULL), mem_cache_(NULL), mask_(0), size_(0),
|
| memory_only_(false), implementation_(false), force_creation_(false),
|
| - new_eviction_(false), first_cleanup_(true), integrity_(true) {}
|
| + new_eviction_(false), first_cleanup_(true), integrity_(true),
|
| + cache_thread_("CacheThread") {}
|
|
|
| void InitCache();
|
| virtual void TearDown();
|
| @@ -105,6 +106,9 @@
|
| void InitMemoryCache();
|
| void InitDiskCache();
|
| void InitDiskCacheImpl(const FilePath& path);
|
| +
|
| + base::Thread cache_thread_;
|
| + DISALLOW_COPY_AND_ASSIGN(DiskCacheTestWithCache);
|
| };
|
|
|
| #endif // NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_
|
|
|