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 5ccf533743b2b8d437527818626943576df85980..00cb05e87e36763f792457a4c6866eb475c16507 100644 |
--- a/chrome/browser/download/download_file_manager.h |
+++ b/chrome/browser/download/download_file_manager.h |
@@ -74,6 +74,9 @@ class DownloadFileManager |
// Called on the IO thread |
int GetNextId(); |
+ // Return the ID that matches |url| and |path|, or -1 if not found. |
+ int GetDownloadId(const GURL& url, const FilePath& path) const; |
+ |
// Called on UI thread to make DownloadFileManager start the download. |
void StartDownload(DownloadCreateInfo* info); |
@@ -81,7 +84,10 @@ class DownloadFileManager |
// download thread. |
void UpdateDownload(int id, DownloadBuffer* buffer); |
void CancelDownload(int id); |
- void OnResponseCompleted(int id, DownloadBuffer* buffer); |
+ void OnResponseCompleted(int id, |
+ DownloadBuffer* buffer, |
+ int os_error, |
+ const std::string& security_info); |
// Called on FILE thread by DownloadManager at the beginning of its shutdown. |
void OnDownloadManagerShutdown(DownloadManager* manager); |