summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/imageburner
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-04 22:09:14 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-04 22:09:14 +0000
commit27678b2a2636707786d7be8e902773d8fa2e72ab (patch)
tree742dcacc7832c0fd76b3dacbc7bfeb93b896f7d2 /chrome/browser/chromeos/imageburner
parentae35150bde7b4e89b69bd78b984b9ab478145a10 (diff)
downloadchromium_src-27678b2a2636707786d7be8e902773d8fa2e72ab.zip
chromium_src-27678b2a2636707786d7be8e902773d8fa2e72ab.tar.gz
chromium_src-27678b2a2636707786d7be8e902773d8fa2e72ab.tar.bz2
"Save As" for content retrieved via POST works in most circumstances.
If the content is in the HTTP cache, this will work in the following cases: - "Save Page As" from the wrench menu for non-HTML pages. - Context-menu save image as, or save audio/video plugin as. - ViewHostMsg_SaveURLAs IPC's. This will work for back/forward navigations to an item which was POST'ed, as well as for tabs restored via the TabRestoreService. It does not work for tabs restored via the SessionService, such as after Chrome crashes or for users who have the "Reopen the Pages that were Open Last" option set. This CL currently depends on http://codereview.chromium.org/9317009/ BUG=55551 TEST=DownloadTest.SavePageNonHTMLViaPost Review URL: http://codereview.chromium.org/9314037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/imageburner')
-rw-r--r--chrome/browser/chromeos/imageburner/burn_manager.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/imageburner/burn_manager.cc b/chrome/browser/chromeos/imageburner/burn_manager.cc
index 502b588..ffb35eb 100644
--- a/chrome/browser/chromeos/imageburner/burn_manager.cc
+++ b/chrome/browser/chromeos/imageburner/burn_manager.cc
@@ -432,6 +432,7 @@ void Downloader::OnFileStreamCreated(const GURL& url,
web_contents->GetURL(),
web_contents->GetEncoding(),
false,
+ -1,
save_info,
web_contents);
} else {