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

Unified Diff: net/disk_cache/cache_util_unittest.cc

Issue 109043002: Move more file_util 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/backend_unittest.cc ('k') | net/proxy/proxy_config_service_linux.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 b86290f757f8d1be4d61d8628498e02c7a0c9b3e..3a05196828e6212e11352e58661f693410d45b50 100644
--- a/net/disk_cache/cache_util_unittest.cc
+++ b/net/disk_cache/cache_util_unittest.cc
@@ -21,16 +21,16 @@ class CacheUtilTest : public PlatformTest {
dir1_ = base::FilePath(cache_dir_.Append(FILE_PATH_LITERAL("dir01")));
file3_ = base::FilePath(dir1_.Append(FILE_PATH_LITERAL("file03")));
ASSERT_TRUE(base::CreateDirectory(cache_dir_));
- FILE *fp = file_util::OpenFile(file1_, "w");
+ FILE *fp = base::OpenFile(file1_, "w");
ASSERT_TRUE(fp != NULL);
- file_util::CloseFile(fp);
- fp = file_util::OpenFile(file2_, "w");
+ base::CloseFile(fp);
+ fp = base::OpenFile(file2_, "w");
ASSERT_TRUE(fp != NULL);
- file_util::CloseFile(fp);
+ base::CloseFile(fp);
ASSERT_TRUE(base::CreateDirectory(dir1_));
- fp = file_util::OpenFile(file3_, "w");
+ fp = base::OpenFile(file3_, "w");
ASSERT_TRUE(fp != NULL);
- file_util::CloseFile(fp);
+ base::CloseFile(fp);
dest_dir_ = tmp_dir_.path().Append(FILE_PATH_LITERAL("old_Cache_001"));
dest_file1_ = base::FilePath(dest_dir_.Append(FILE_PATH_LITERAL("file01")));
dest_file2_ =
« no previous file with comments | « net/disk_cache/backend_unittest.cc ('k') | net/proxy/proxy_config_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698