diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-25 01:06:42 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-25 01:06:42 +0000 |
commit | 494c06ed7762ad06d70d83ce2c3c459944b3dfcd (patch) | |
tree | a88cfc109eb6d1b06258987e7f37432baea399ba /chrome/browser/download/save_package.cc | |
parent | 97b3aef453bcfa1771bebcd68d8bc76a6c113826 (diff) | |
download | chromium_src-494c06ed7762ad06d70d83ce2c3c459944b3dfcd.zip chromium_src-494c06ed7762ad06d70d83ce2c3c459944b3dfcd.tar.gz chromium_src-494c06ed7762ad06d70d83ce2c3c459944b3dfcd.tar.bz2 |
Use referrer_url instead of download url to decide whether a
theme installation can happens sans-prompt.
Review URL: http://codereview.chromium.org/160087
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21603 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/save_package.cc')
-rw-r--r-- | chrome/browser/download/save_package.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc index f36b388..566ed63 100644 --- a/chrome/browser/download/save_package.cc +++ b/chrome/browser/download/save_package.cc @@ -256,7 +256,7 @@ bool SavePackage::Init() { } // Create the fake DownloadItem and display the view. - download_ = new DownloadItem(1, saved_main_file_path_, 0, page_url_, + download_ = new DownloadItem(1, saved_main_file_path_, 0, page_url_, GURL(), FilePath(), Time::Now(), 0, -1, -1, false); download_->set_manager(tab_contents_->profile()->GetDownloadManager()); tab_contents_->OnStartDownload(download_); |