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

Unified Diff: chrome/browser/chromeos/drive/file_system/download_operation.cc

Issue 16950028: Move file_util::Delete to the 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
Index: chrome/browser/chromeos/drive/file_system/download_operation.cc
diff --git a/chrome/browser/chromeos/drive/file_system/download_operation.cc b/chrome/browser/chromeos/drive/file_system/download_operation.cc
index 8689ebd12e67ba73e57de27b4d64e8bbe6fa8115..06b821f2591b0edcb6ada3bc59bc2c11f553229a 100644
--- a/chrome/browser/chromeos/drive/file_system/download_operation.cc
+++ b/chrome/browser/chromeos/drive/file_system/download_operation.cc
@@ -196,7 +196,7 @@ FileError UpdateLocalStateForDownloadFile(
FileError error = util::GDataToFileError(gdata_error);
if (error != FILE_ERROR_OK) {
- file_util::Delete(downloaded_file_path, false /* recursive */);
+ base::Delete(downloaded_file_path, false /* recursive */);
return error;
}
@@ -204,7 +204,7 @@ FileError UpdateLocalStateForDownloadFile(
error = cache->Store(resource_id, md5, downloaded_file_path,
internal::FileCache::FILE_OPERATION_MOVE);
if (error != FILE_ERROR_OK) {
- file_util::Delete(downloaded_file_path, false /* recursive */);
+ base::Delete(downloaded_file_path, false /* recursive */);
return error;
}
« no previous file with comments | « chrome/browser/chromeos/drive/file_cache_unittest.cc ('k') | chrome/browser/chromeos/drive/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698