summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_unittest.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 17:14:59 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 17:14:59 +0000
commitcfaa1f2938c346d4801b895e7181f5de7d3755e6 (patch)
tree934967a90f94c5d50939929dd6ab38ad5dceed3e /net/disk_cache/backend_unittest.cc
parent1ee19742db740fb60ed78266039f65c93c85c836 (diff)
downloadchromium_src-cfaa1f2938c346d4801b895e7181f5de7d3755e6.zip
chromium_src-cfaa1f2938c346d4801b895e7181f5de7d3755e6.tar.gz
chromium_src-cfaa1f2938c346d4801b895e7181f5de7d3755e6.tar.bz2
Start migrating the disk cache to using FilePath.
This converts BackendImpl to using FilePath. BUG=24444 Review URL: http://codereview.chromium.org/261045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_unittest.cc')
-rw-r--r--net/disk_cache/backend_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc
index ffa873c..27b091b 100644
--- a/net/disk_cache/backend_unittest.cc
+++ b/net/disk_cache/backend_unittest.cc
@@ -1431,7 +1431,7 @@ TEST_F(DiskCacheTest, Backend_UsageStats) {
std::wstring path = GetCachePath();
ASSERT_TRUE(DeleteCache(path.c_str()));
scoped_ptr<disk_cache::BackendImpl> cache;
- cache.reset(new disk_cache::BackendImpl(path));
+ cache.reset(new disk_cache::BackendImpl(FilePath::FromWStringHack(path)));
ASSERT_TRUE(NULL != cache.get());
cache->SetUnitTestMode();
ASSERT_TRUE(cache->Init());