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

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

Issue 20136004: Allow partial update for notification update API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybots Created 7 years, 5 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: chrome/browser/notifications/balloon_notification_ui_manager.cc
diff --git a/chrome/browser/notifications/balloon_notification_ui_manager.cc b/chrome/browser/notifications/balloon_notification_ui_manager.cc
index d6ea75e5b5a41ba1a48b90715d3255057bc202f8..b87a00f3245d03ae03e96a58dd417e53804deea6 100644
--- a/chrome/browser/notifications/balloon_notification_ui_manager.cc
+++ b/chrome/browser/notifications/balloon_notification_ui_manager.cc
@@ -44,10 +44,11 @@ void BalloonNotificationUIManager::SetBalloonCollection(
balloon_collection_->set_space_change_listener(this);
}
-bool BalloonNotificationUIManager::DoesIdExist(const std::string& id) {
- if (NotificationUIManagerImpl::DoesIdExist(id))
+bool BalloonNotificationUIManager::DoesIdExist(
+ const std::string& id, Notification* matched_notification) {
+ if (NotificationUIManagerImpl::DoesIdExist(id, matched_notification))
return true;
- return balloon_collection_->DoesIdExist(id);
+ return balloon_collection_->DoesIdExist(id, matched_notification);
}
bool BalloonNotificationUIManager::CancelById(const std::string& id) {

Powered by Google App Engine
This is Rietveld 408576698