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

Unified Diff: chrome/browser/notifications/non_persistent_notification_handler.cc

Issue 2817813006: Make progress notifications an alert. (Closed)
Patch Set: review Created 3 years, 8 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 | « no previous file | chrome/browser/notifications/notification_platform_bridge_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/non_persistent_notification_handler.cc
diff --git a/chrome/browser/notifications/non_persistent_notification_handler.cc b/chrome/browser/notifications/non_persistent_notification_handler.cc
index e40b79ce2ff3b8c0a604be79cc1ecda96a1f5d79..84ec7804cbf902ee529a7b7d4f11a278c1b58641 100644
--- a/chrome/browser/notifications/non_persistent_notification_handler.cc
+++ b/chrome/browser/notifications/non_persistent_notification_handler.cc
@@ -42,7 +42,6 @@ void NonPersistentNotificationHandler::OpenSettings(Profile* profile) {
void NonPersistentNotificationHandler::RegisterNotification(
const std::string& notification_id,
NotificationDelegate* delegate) {
- DCHECK_EQ(notifications_.count(notification_id), 0u);
notifications_[notification_id] =
scoped_refptr<NotificationDelegate>(delegate);
}
« no previous file with comments | « no previous file | chrome/browser/notifications/notification_platform_bridge_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698