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

Unified Diff: chrome/browser/download/notification/download_notification_manager.cc

Issue 1403003004: Revert of Update first download notification correctly if there are multiple notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « chrome/browser/download/notification/download_notification_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/notification/download_notification_manager.cc
diff --git a/chrome/browser/download/notification/download_notification_manager.cc b/chrome/browser/download/notification/download_notification_manager.cc
index 6eb6b493bd565ab8ea65489517e83afc435913f4..a91349b7eb1ba9353247a27cd08291b6ce530216 100644
--- a/chrome/browser/download/notification/download_notification_manager.cc
+++ b/chrome/browser/download/notification/download_notification_manager.cc
@@ -78,7 +78,6 @@
DownloadNotificationManager* parent_manager)
: profile_(profile),
parent_manager_(parent_manager),
- message_center_(g_browser_process->message_center()),
items_deleter_(&items_) {
}
@@ -154,9 +153,3 @@
DownloadItemNotification* item = new DownloadItemNotification(download, this);
items_.insert(std::make_pair(download, item));
}
-
-void DownloadNotificationManagerForProfile::OverrideMessageCenterForTest(
- message_center::MessageCenter* message_center) {
- DCHECK(message_center);
- message_center_ = message_center;
-}
« no previous file with comments | « chrome/browser/download/notification/download_notification_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698