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

Unified Diff: content/browser/download/download_manager.cc

Issue 8135017: Refactor downloads into a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments. Created 9 years, 2 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: content/browser/download/download_manager.cc
diff --git a/content/browser/download/download_manager.cc b/content/browser/download/download_manager.cc
index 99036f4f896ebcee7acfb777e52fa034d8b64e46..881beb9ebe3505327247e9b7daa079f19392ef45 100644
--- a/content/browser/download/download_manager.cc
+++ b/content/browser/download/download_manager.cc
@@ -613,6 +613,11 @@ void DownloadManager::RemoveFromActiveList(DownloadItem* download) {
}
}
+void DownloadManager::SetDownloadManagerDelegate(
+ DownloadManagerDelegate* delegate) {
+ delegate_ = delegate;
+}
+
void DownloadManager::UpdateDownloadProgress() {
delegate_->DownloadProgressUpdated();
}

Powered by Google App Engine
This is Rietveld 408576698