summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/disk_cache_test_util.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-15 22:33:47 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-15 22:33:47 +0000
commit79b3fec81e7ea7e4c35822588b1b61d5361e9f4b (patch)
treec0923710e5db89ee91ae37b304ed2e15e986c657 /net/disk_cache/disk_cache_test_util.h
parentc19d954f05f2b5cdc65c6e7cedf0f825643a2c68 (diff)
downloadchromium_src-79b3fec81e7ea7e4c35822588b1b61d5361e9f4b.zip
chromium_src-79b3fec81e7ea7e4c35822588b1b61d5361e9f4b.tar.gz
chromium_src-79b3fec81e7ea7e4c35822588b1b61d5361e9f4b.tar.bz2
Disk cache: Simplify some of the test infrastructure.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8463031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/disk_cache_test_util.h')
-rw-r--r--net/disk_cache/disk_cache_test_util.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/disk_cache/disk_cache_test_util.h b/net/disk_cache/disk_cache_test_util.h
index 6469761..edc090a 100644
--- a/net/disk_cache/disk_cache_test_util.h
+++ b/net/disk_cache/disk_cache_test_util.h
@@ -21,9 +21,6 @@ bool CreateCacheTestFile(const FilePath& name);
// Deletes all file son the cache.
bool DeleteCache(const FilePath& path);
-// Copies a set of cache files from the data folder to the test folder.
-bool CopyTestCache(const std::string& name);
-
// Gets the path to the cache test folder.
FilePath GetCacheFilePath();
@@ -40,7 +37,7 @@ bool CheckCacheIntegrity(const FilePath& path, bool new_eviction, uint32 mask);
// exists and is clear in ctor and that the directory gets deleted in dtor.
class ScopedTestCache {
public:
- ScopedTestCache();
+ explicit ScopedTestCache(const FilePath& path);
// Use a specific folder name.
explicit ScopedTestCache(const std::string& name);
~ScopedTestCache();