Index: chrome/browser/ui/cocoa/notifications/notification_delivery.h |
diff --git a/chrome/browser/ui/cocoa/notifications/notification_delivery.h b/chrome/browser/ui/cocoa/notifications/notification_delivery.h |
index e19593f4e45fe8dd85e01ceaec26642e6b53aefa..e64b13823d7bbf710d4d1fb31a03c099955983e5 100644 |
--- a/chrome/browser/ui/cocoa/notifications/notification_delivery.h |
+++ b/chrome/browser/ui/cocoa/notifications/notification_delivery.h |
@@ -16,6 +16,12 @@ |
// |notificationData| is generated using a NofiticationBuilder object. |
- (void)deliverNotification:(NSDictionary*)notificationData; |
+// Closes an alert with the given |notificationId| and |profileId|. |
+- (void)closeNotification:(NSString*)notificationId |
Robert Sesek
2016/10/10 18:22:47
I'd name this -closeNotificationWithId:withProfile
Miguel Garcia
2016/10/11 11:55:41
Done.
|
+ withProfile:(NSString*)profileId; |
+ |
+// Closes all the alerts being displayed. |
+- (void)closeAllNotifications; |
@end |
// Response protocol for the XPC notification service to notify Chrome of |