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

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

Issue 230103002: [Downloads] Ask DownloadHistory if a download was from history. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build Created 6 years, 7 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/download/download_service.h ('k') | chrome/browser/download/download_ui_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_service.cc
diff --git a/chrome/browser/download/download_service.cc b/chrome/browser/download/download_service.cc
index dc209e89ad5e0b2c28f924b720048a3254b54ae4..e4b2961fe804801eaa1d7d7dfea97149713ec5f2 100644
--- a/chrome/browser/download/download_service.cc
+++ b/chrome/browser/download/download_service.cc
@@ -65,9 +65,8 @@ ChromeDownloadManagerDelegate* DownloadService::GetDownloadManagerDelegate() {
// Pass an empty delegate when constructing the DownloadUIController. The
// default delegate does all the notifications we need.
- scoped_ptr<DownloadUIController::Delegate> empty_ui_delegate;
- download_ui_.reset(new DownloadUIController(manager,
- empty_ui_delegate.Pass()));
+ download_ui_.reset(new DownloadUIController(
+ manager, scoped_ptr<DownloadUIController::Delegate>()));
// Include this download manager in the set monitored by the
// global status updater.
« no previous file with comments | « chrome/browser/download/download_service.h ('k') | chrome/browser/download/download_ui_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698