summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_manager.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-26 04:09:23 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-26 04:09:23 +0000
commit9ceb0734baeac21d1560023475f381b8a21e6cfa (patch)
treefa92103aa16e6ff04e90206c6ac99710c3c2d7ca /chrome/browser/download/download_manager.cc
parent97cdbad260d0a97b1a57dc4e863607c409533412 (diff)
downloadchromium_src-9ceb0734baeac21d1560023475f381b8a21e6cfa.zip
chromium_src-9ceb0734baeac21d1560023475f381b8a21e6cfa.tar.gz
chromium_src-9ceb0734baeac21d1560023475f381b8a21e6cfa.tar.bz2
Revert revisions 21622-21624.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_manager.cc')
-rw-r--r--chrome/browser/download/download_manager.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc
index ad8f16b..d8e3237 100644
--- a/chrome/browser/download/download_manager.cc
+++ b/chrome/browser/download/download_manager.cc
@@ -1235,10 +1235,8 @@ void DownloadManager::OpenDownload(const DownloadItem* download,
void DownloadManager::OpenChromeExtension(const FilePath& full_path,
const GURL& download_url,
const GURL& referrer_url) {
- // We don't support extensions in OTR mode.
- if (profile_->GetExtensionsService())
- profile_->GetExtensionsService()->InstallExtension(full_path, download_url,
- referrer_url);
+ profile_->GetOriginalProfile()->GetExtensionsService()->
+ InstallExtension(full_path, download_url, referrer_url);
}
void DownloadManager::OpenDownloadInShell(const DownloadItem* download,