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: trunk/src/net/disk_cache/cache_util_unittest.cc

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/net/disk_cache/backend_unittest.cc ('k') | trunk/src/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: trunk/src/net/disk_cache/cache_util_unittest.cc
===================================================================
--- trunk/src/net/disk_cache/cache_util_unittest.cc (revision 239399)
+++ trunk/src/net/disk_cache/cache_util_unittest.cc (working copy)
@@ -21,16 +21,16 @@
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 = base::OpenFile(file1_, "w");
+ FILE *fp = file_util::OpenFile(file1_, "w");
ASSERT_TRUE(fp != NULL);
- base::CloseFile(fp);
- fp = base::OpenFile(file2_, "w");
+ file_util::CloseFile(fp);
+ fp = file_util::OpenFile(file2_, "w");
ASSERT_TRUE(fp != NULL);
- base::CloseFile(fp);
+ file_util::CloseFile(fp);
ASSERT_TRUE(base::CreateDirectory(dir1_));
- fp = base::OpenFile(file3_, "w");
+ fp = file_util::OpenFile(file3_, "w");
ASSERT_TRUE(fp != NULL);
- base::CloseFile(fp);
+ file_util::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 | « trunk/src/net/disk_cache/backend_unittest.cc ('k') | trunk/src/net/proxy/proxy_config_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698