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

Unified Diff: content/browser/notifications/notification_database.cc

Issue 2671603005: Fix a couple of TODOs (Closed)
Patch Set: Created 3 years, 10 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/notifications/notification_database.cc
diff --git a/content/browser/notifications/notification_database.cc b/content/browser/notifications/notification_database.cc
index 192368204773d8b8825a8e133649c52473c786f3..677a3270ef1a005c491f5768f0856ed3ef3fbe5a 100644
--- a/content/browser/notifications/notification_database.cc
+++ b/content/browser/notifications/notification_database.cc
@@ -328,11 +328,6 @@ NotificationDatabase::ReadAllNotificationDataInternal(
continue;
}
- // Silently ignore the notification if it doesn't have an ID assigned.
- // TODO(peter): Remove this clause when Chrome 55 has branched.
- if (notification_database_data.notification_id.empty())
- continue;
-
notification_data_vector->push_back(notification_database_data);
}

Powered by Google App Engine
This is Rietveld 408576698