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

Unified Diff: content/shell/shell_browser_context.cc

Issue 8351052: Created a DownloadManager interface, for use in unit tests.. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created a non-inlined destructor for MockDownloadManager. Created 9 years, 1 month 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: content/shell/shell_browser_context.cc
diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc
index f45bbb6e0656188aeabe3f2106e8cb942db2e353..f1bc81700eb47155c708cc10fc47058268a63386 100644
--- a/content/shell/shell_browser_context.cc
+++ b/content/shell/shell_browser_context.cc
@@ -126,9 +126,9 @@ DownloadManager* ShellBrowserContext::GetDownloadManager() {
download_status_updater_.reset(new DownloadStatusUpdater());
download_manager_delegate_ = new ShellDownloadManagerDelegate();
- download_manager_ = new DownloadManager(download_manager_delegate_,
- download_id_factory_,
- download_status_updater_.get());
+ download_manager_ = new DownloadManagerImpl(download_manager_delegate_,
+ download_id_factory_,
+ download_status_updater_.get());
download_manager_delegate_->SetDownloadManager(download_manager_.get());
download_manager_->Init(this);
}

Powered by Google App Engine
This is Rietveld 408576698