Index: net/disk_cache/disk_cache_test_base.h |
=================================================================== |
--- net/disk_cache/disk_cache_test_base.h (revision 190930) |
+++ net/disk_cache/disk_cache_test_base.h (working copy) |
@@ -59,7 +59,10 @@ |
DiskCacheTestWithCache(); |
virtual ~DiskCacheTestWithCache(); |
+ void CreateBackendAsModeSuggests(uint32 flags, base::Thread* thread); |
+ |
void InitCache(); |
+ void InitDefaultCacheViaCreator(); |
void SimulateCrash(); |
void SetTestMode(); |
@@ -67,9 +70,8 @@ |
memory_only_ = true; |
} |
- // Use the implementation directly instead of the factory provided object. |
- void SetDirectMode() { |
- implementation_ = true; |
+ void SetSimpleCacheMode() { |
+ simple_cache_mode_ = true; |
} |
void SetMask(uint32 mask) { |
@@ -148,7 +150,7 @@ |
int size_; |
net::CacheType type_; |
bool memory_only_; |
- bool implementation_; |
+ bool simple_cache_mode_; |
bool force_creation_; |
bool new_eviction_; |
bool first_cleanup_; |
@@ -160,7 +162,6 @@ |
private: |
void InitMemoryCache(); |
void InitDiskCache(); |
- void InitDiskCacheImpl(); |
base::Thread cache_thread_; |
DISALLOW_COPY_AND_ASSIGN(DiskCacheTestWithCache); |