| Index: net/disk_cache/disk_cache_test_base.h
|
| diff --git a/net/disk_cache/disk_cache_test_base.h b/net/disk_cache/disk_cache_test_base.h
|
| index faecc173488967ac95f6e0cc81394441c246a150..0121191b71fc90728bf9e8f74aaace8bf7a7d989 100644
|
| --- a/net/disk_cache/disk_cache_test_base.h
|
| +++ b/net/disk_cache/disk_cache_test_base.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/thread.h"
|
| #include "net/base/cache_type.h"
|
| +#include "net/disk_cache/disk_cache_test_util.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/platform_test.h"
|
|
|
| @@ -92,6 +93,10 @@ class DiskCacheTestWithCache : public DiskCacheTest {
|
| type_ = type;
|
| }
|
|
|
| + FilePath path() const {
|
| + return test_cache_.path();
|
| + }
|
| +
|
| // Utility methods to access the cache and wait for each operation to finish.
|
| int OpenEntry(const std::string& key, disk_cache::Entry** entry);
|
| int CreateEntry(const std::string& key, disk_cache::Entry** entry);
|
| @@ -136,7 +141,9 @@ class DiskCacheTestWithCache : public DiskCacheTest {
|
| void InitDiskCache();
|
| void InitDiskCacheImpl(const FilePath& path);
|
|
|
| + ScopedTestCache test_cache_;
|
| base::Thread cache_thread_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(DiskCacheTestWithCache);
|
| };
|
|
|
|
|