Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Unified Diff: net/disk_cache/cache_util_unittest.cc

Issue 16950028: Move file_util::Delete to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/cache_util_posix.cc ('k') | net/disk_cache/entry_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/cache_util_unittest.cc
diff --git a/net/disk_cache/cache_util_unittest.cc b/net/disk_cache/cache_util_unittest.cc
index 448520406d7e4912ee42d385799c8071dcc6a23d..74ae365db4cfce08e0ae4d752897760d4bc40aeb 100644
--- a/net/disk_cache/cache_util_unittest.cc
+++ b/net/disk_cache/cache_util_unittest.cc
@@ -65,7 +65,7 @@ TEST_F(CacheUtilTest, MoveCache) {
TEST_F(CacheUtilTest, DeleteCache) {
// DeleteCache won't delete subdirs, so let's not start with this
// one around.
- file_util::Delete(dir1_, false);
+ base::Delete(dir1_, false);
disk_cache::DeleteCache(cache_dir_, false);
EXPECT_TRUE(file_util::PathExists(cache_dir_)); // cache dir stays
EXPECT_FALSE(file_util::PathExists(file1_));
@@ -75,7 +75,7 @@ TEST_F(CacheUtilTest, DeleteCache) {
TEST_F(CacheUtilTest, DeleteCacheAndDir) {
// DeleteCache won't delete subdirs, so let's not start with this
// one around.
- file_util::Delete(dir1_, false);
+ base::Delete(dir1_, false);
disk_cache::DeleteCache(cache_dir_, true);
EXPECT_FALSE(file_util::PathExists(cache_dir_)); // cache dir is gone
EXPECT_FALSE(file_util::PathExists(file1_));
« no previous file with comments | « net/disk_cache/cache_util_posix.cc ('k') | net/disk_cache/entry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698