Index: content/public/browser/download_manager.h |
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h |
index a4bc3c852473a30632bfbcb79bb729573c2bbb51..29c5d663c953d2ab98b30e25acc61951b7bf68cd 100644 |
--- a/content/public/browser/download_manager.h |
+++ b/content/public/browser/download_manager.h |
@@ -168,7 +168,10 @@ class CONTENT_EXPORT DownloadManager |
// Downloads the content at |url|. |referrer| and |referrer_encoding| are the |
// referrer for the download, and may be empty. If |prefer_cache| is true, |
// then if the response to |url| is in the HTTP cache it will be used without |
- // revalidation. |save_info| specifies where the downloaded file should be |
+ // revalidation. If |post_id| is non-negative, then it identifies the post |
+ // transaction used to originally retrieve the |url| resource - it also |
+ // requires |prefer_cache| to be |true| since re-post'ing is not done. |
+ // |save_info| specifies where the downloaded file should be |
// saved, and whether the user should be prompted about the download. |
// |web_contents| is the web page that the download is done in context of, |
// and must be non-NULL. |
@@ -176,6 +179,7 @@ class CONTENT_EXPORT DownloadManager |
const GURL& referrer, |
const std::string& referrer_encoding, |
bool prefer_cache, |
+ int64 post_id, |
const DownloadSaveInfo& save_info, |
content::WebContents* web_contents) = 0; |