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

Unified Diff: net/disk_cache/cache_util_posix.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/block_files_unittest.cc ('k') | net/disk_cache/cache_util_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_posix.cc
diff --git a/net/disk_cache/cache_util_posix.cc b/net/disk_cache/cache_util_posix.cc
index b33c560a000f3cdf7920d829361546522603448f..59e1c505d49a97c94f4f6a37dc9c48ed1eac8f3e 100644
--- a/net/disk_cache/cache_util_posix.cc
+++ b/net/disk_cache/cache_util_posix.cc
@@ -19,7 +19,7 @@ bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) {
// to see these directories anymore in an unmounted encrypted
// filesystem, so we just move each item in the cache to a new
// directory.
- if (!file_util::CreateDirectory(to_path)) {
+ if (!base::CreateDirectory(to_path)) {
LOG(ERROR) << "Unable to create destination cache directory.";
return false;
}
« no previous file with comments | « net/disk_cache/block_files_unittest.cc ('k') | net/disk_cache/cache_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698