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

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

Issue 18584011: Rename base::Delete to base::DeleteFile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/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 754bb46ea24fbf5834a6825230077d6e21697953..a3919866e39f414d3bb22ed3040eeea06e1f45b7 100644
--- a/chrome/browser/chromeos/drive/file_system/download_operation.cc
+++ b/chrome/browser/chromeos/drive/file_system/download_operation.cc
@@ -182,7 +182,7 @@ FileError UpdateLocalStateForDownloadFile(
FileError error = util::GDataToFileError(gdata_error);
if (error != FILE_ERROR_OK) {
- base::Delete(downloaded_file_path, false /* recursive */);
+ base::DeleteFile(downloaded_file_path, false /* recursive */);
return error;
}
@@ -190,7 +190,7 @@ FileError UpdateLocalStateForDownloadFile(
error = cache->Store(resource_id, md5, downloaded_file_path,
internal::FileCache::FILE_OPERATION_MOVE);
if (error != FILE_ERROR_OK) {
- base::Delete(downloaded_file_path, false /* recursive */);
+ base::DeleteFile(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