Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6857)

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 7640021: Move some Chrome-specific code paths out of DownloadManager and into the delegate. Getting rid of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.cc
===================================================================
--- chrome/browser/profiles/profile_impl.cc (revision 96577)
+++ chrome/browser/profiles/profile_impl.cc (working copy)
@@ -1253,9 +1253,9 @@
DownloadManager* ProfileImpl::GetDownloadManager() {
if (!created_download_manager_) {
- download_manager_delegate_.reset(new ChromeDownloadManagerDelegate());
+ download_manager_delegate_= new ChromeDownloadManagerDelegate();
scoped_refptr<DownloadManager> dlm(
- new DownloadManager(download_manager_delegate_.get(),
+ new DownloadManager(download_manager_delegate_,
g_browser_process->download_status_updater()));
download_manager_delegate_->set_download_manager(dlm);
dlm->Init(this);
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698