Index: chrome/browser/download/download_file_manager.h |
diff --git a/chrome/browser/download/download_file_manager.h b/chrome/browser/download/download_file_manager.h |
index 2b52636c03d3866a0f412d05eb6f49aaedd3fcd7..e57c079caee532d816fab2dfce684e52edf74d21 100644 |
--- a/chrome/browser/download/download_file_manager.h |
+++ b/chrome/browser/download/download_file_manager.h |
@@ -88,7 +88,7 @@ class DownloadFileManager |
// was not performed securely. |
void OnResponseCompleted(int id, |
DownloadBuffer* buffer, |
- int os_error, |
+ int net_error, |
const std::string& security_info); |
// Handlers for notifications sent from the UI thread and run on the |
@@ -147,7 +147,8 @@ class DownloadFileManager |
// Called only from RenameInProgressDownloadFile and |
// RenameCompletingDownloadFile on the FILE thread. |
- void CancelDownloadOnRename(int id); |
+ // |rename_error| indicates what error caused the cancel. |
+ void CancelDownloadOnRename(int id, int rename_error); |
// Erases the download file with the given the download |id| and removes |
// it from the maps. |