summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_util.cc
diff options
context:
space:
mode:
authorgeorged@chromium.org <georged@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-01 23:33:45 +0000
committergeorged@chromium.org <georged@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-01 23:33:45 +0000
commit8f78375f6e69a6d39dcb820fb10fd7c61408c4e1 (patch)
treeabcb9df6c48ac9a4be3f9e894b7ce8dda2c7f4e5 /chrome/browser/download/download_util.cc
parent3b0c80b47eaf1b98e34bfc5dc37c26a503f1d072 (diff)
downloadchromium_src-8f78375f6e69a6d39dcb820fb10fd7c61408c4e1.zip
chromium_src-8f78375f6e69a6d39dcb820fb10fd7c61408c4e1.tar.gz
chromium_src-8f78375f6e69a6d39dcb820fb10fd7c61408c4e1.tar.bz2
Installing extensions (drag/drop, download crx file) will now be
handled by the Chrome instance w/o shell execute. This will install the extension in the proper profile using the running bits. Review URL: http://codereview.chromium.org/55046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_util.cc')
-rw-r--r--chrome/browser/download/download_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index 27e078e..ad670ab 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -51,7 +51,7 @@ void OpenDownload(DownloadItem* download) {
if (download->state() == DownloadItem::IN_PROGRESS)
download->set_open_when_complete(!download->open_when_complete());
else if (download->state() == DownloadItem::COMPLETE)
- download->manager()->OpenDownloadInShell(download, NULL);
+ download->manager()->OpenDownload(download, NULL);
}
// Download progress painting --------------------------------------------------