summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/save_package.cc
diff options
context:
space:
mode:
authorskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 16:36:41 +0000
committerskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 16:36:41 +0000
commitd4a718827cf6cfbd775790d129a3bace6e09f5e9 (patch)
treec13009f74a9c9a6c9d54743d6731d6f448480556 /chrome/browser/download/save_package.cc
parent74db48eb22cd8bfe4d028418d99e7aee6c220930 (diff)
downloadchromium_src-d4a718827cf6cfbd775790d129a3bace6e09f5e9.zip
chromium_src-d4a718827cf6cfbd775790d129a3bace6e09f5e9.tar.gz
chromium_src-d4a718827cf6cfbd775790d129a3bace6e09f5e9.tar.bz2
Disallow apps with the wrong content type header.
BUG=41290 TEST=manual Review URL: http://codereview.chromium.org/2830017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/save_package.cc')
-rw-r--r--chrome/browser/download/save_package.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc
index 8c841b6..b9ae8c2 100644
--- a/chrome/browser/download/save_package.cc
+++ b/chrome/browser/download/save_package.cc
@@ -325,7 +325,7 @@ bool SavePackage::Init() {
// Create the fake DownloadItem and display the view.
download_ = new DownloadItem(1, saved_main_file_path_, 0, page_url_, GURL(),
- "", FilePath(), Time::Now(), 0, -1, -1, false, false,
+ "", "", FilePath(), Time::Now(), 0, -1, -1, false, false,
profile->IsOffTheRecord(), false, false);
download_->set_manager(tab_contents_->profile()->GetDownloadManager());
tab_contents_->OnStartDownload(download_);