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>2009-03-26 17:00:31 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-26 17:00:31 +0000
commit5897ea34708d4454d1492576a5983f189f0dcd2f (patch)
tree5110c082872ebb70f7e6167a9111d79aa46b9e41 /net/disk_cache/disk_cache_test_util.h
parent6cf0f62073918db69c7973bcbf083dd6200ba90b (diff)
downloadchromium_src-5897ea34708d4454d1492576a5983f189f0dcd2f.zip
chromium_src-5897ea34708d4454d1492576a5983f189f0dcd2f.tar.gz
chromium_src-5897ea34708d4454d1492576a5983f189f0dcd2f.tar.bz2
Disk cache: Add a unit test that instantiates three caches
at the same time (for media files). Review URL: http://codereview.chromium.org/45061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12561 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/disk_cache_test_util.h b/net/disk_cache/disk_cache_test_util.h
index 05dce99..d715506 100644
--- a/net/disk_cache/disk_cache_test_util.h
+++ b/net/disk_cache/disk_cache_test_util.h
@@ -38,6 +38,7 @@ bool CheckCacheIntegrity(const std::wstring& path);
class ScopedTestCache {
public:
ScopedTestCache();
+ ScopedTestCache(const std::wstring& name); // Use a specific folder name.
~ScopedTestCache();
FilePath path() const { return FilePath::FromWStringHack(path_); }