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

Unified Diff: chrome/installer/util/delete_tree_work_item.cc

Issue 18332014: Move Copy* into the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: windows Created 7 years, 5 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
Index: chrome/installer/util/delete_tree_work_item.cc
diff --git a/chrome/installer/util/delete_tree_work_item.cc b/chrome/installer/util/delete_tree_work_item.cc
index a5ccf4d3240a5fa794b08a88e41771b3a4cef238..7c3265430bb3db4b870cb91915fba261fdf652cb 100644
--- a/chrome/installer/util/delete_tree_work_item.cc
+++ b/chrome/installer/util/delete_tree_work_item.cc
@@ -62,7 +62,7 @@ bool DeleteTreeWorkItem::Do() {
if (!backup.CreateUniqueTempDirUnderPath(temp_path_)) {
PLOG(ERROR) << "Could not create temp dir in " << temp_path_.value();
abort = true;
- } else if (!file_util::CopyFile(key_file,
+ } else if (!base::CopyFile(key_file,
backup.path().Append(key_file.BaseName()))) {
PLOG(ERROR) << "Could not back up " << key_file.value()
<< " to directory " << backup.path().value();
@@ -117,7 +117,7 @@ bool DeleteTreeWorkItem::Do() {
} else {
base::FilePath backup =
backup_path_.path().Append(root_path_.BaseName());
- if (!file_util::CopyDirectory(root_path_, backup, true)) {
+ if (!base::CopyDirectory(root_path_, backup, true)) {
LOG(ERROR) << "can not copy " << root_path_.value()
<< " to backup path " << backup.value();
return false;
« no previous file with comments | « chrome/installer/util/copy_tree_work_item_unittest.cc ('k') | chrome/installer/util/delete_tree_work_item_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698