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

Unified Diff: net/disk_cache/cache_util_unittest.cc

Issue 100573002: Move directory creation functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/simple/simple_backend_impl.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 d2e76054f7f643f613f53973a629a162b53cf803..b86290f757f8d1be4d61d8628498e02c7a0c9b3e 100644
--- a/net/disk_cache/cache_util_unittest.cc
+++ b/net/disk_cache/cache_util_unittest.cc
@@ -20,14 +20,14 @@ class CacheUtilTest : public PlatformTest {
file2_ = base::FilePath(cache_dir_.Append(FILE_PATH_LITERAL(".file02")));
dir1_ = base::FilePath(cache_dir_.Append(FILE_PATH_LITERAL("dir01")));
file3_ = base::FilePath(dir1_.Append(FILE_PATH_LITERAL("file03")));
- ASSERT_TRUE(file_util::CreateDirectory(cache_dir_));
+ ASSERT_TRUE(base::CreateDirectory(cache_dir_));
FILE *fp = file_util::OpenFile(file1_, "w");
ASSERT_TRUE(fp != NULL);
file_util::CloseFile(fp);
fp = file_util::OpenFile(file2_, "w");
ASSERT_TRUE(fp != NULL);
file_util::CloseFile(fp);
- ASSERT_TRUE(file_util::CreateDirectory(dir1_));
+ ASSERT_TRUE(base::CreateDirectory(dir1_));
fp = file_util::OpenFile(file3_, "w");
ASSERT_TRUE(fp != NULL);
file_util::CloseFile(fp);
« no previous file with comments | « net/disk_cache/cache_util_posix.cc ('k') | net/disk_cache/simple/simple_backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698