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

Unified Diff: net/disk_cache/cache_util_posix.cc

Issue 18383003: Move DeleteAfterReboot and Move to 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 | « content/browser/web_contents/web_contents_drag_win.cc ('k') | net/disk_cache/simple/simple_index_file.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 db1a4ac206278725bea908b45cdc23fb1e3ab85a..40cf9a5321d5cddcb7ec2ebbb3ae7fed9ae3b83c 100644
--- a/net/disk_cache/cache_util_posix.cc
+++ b/net/disk_cache/cache_util_posix.cc
@@ -28,14 +28,14 @@ bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) {
for (base::FilePath name = iter.Next(); !name.value().empty();
name = iter.Next()) {
base::FilePath destination = to_path.Append(name.BaseName());
- if (!file_util::Move(name, destination)) {
+ if (!base::Move(name, destination)) {
LOG(ERROR) << "Unable to move cache item.";
return false;
}
}
return true;
#else
- return file_util::Move(from_path, to_path);
+ return base::Move(from_path, to_path);
#endif
}
« no previous file with comments | « content/browser/web_contents/web_contents_drag_win.cc ('k') | net/disk_cache/simple/simple_index_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698