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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate_unittest.cc

Issue 10535026: Move creation and ownership of DownloadManager from the embedder to content. This matches all the o… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
Index: chrome/browser/download/chrome_download_manager_delegate_unittest.cc
===================================================================
--- chrome/browser/download/chrome_download_manager_delegate_unittest.cc (revision 140592)
+++ chrome/browser/download/chrome_download_manager_delegate_unittest.cc (working copy)
@@ -259,7 +259,7 @@
file_thread_(content::BrowserThread::FILE, &message_loop_),
download_manager_(new content::MockDownloadManager),
delegate_(new TestChromeDownloadManagerDelegate(&profile_)) {
- delegate_->SetDownloadManager(download_manager_.get());
+ download_manager_->SetDownloadManagerDelegate(delegate_.get());
pref_service_ = profile_.GetTestingPrefService();
}

Powered by Google App Engine
This is Rietveld 408576698