Index: chrome/browser/ui/cocoa/notifications/notification_response_builder_mac.mm |
diff --git a/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac.mm b/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac.mm |
index 1e78261b9fbf769cb44618815aa1f7753f5d9b47..c773dc5404d75f2cd370dd6b28e8bc1302665550 100644 |
--- a/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac.mm |
+++ b/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac.mm |
@@ -43,6 +43,8 @@ enum NotificationOperation { |
objectForKey:notification_constants::kNotificationIncognito]); |
NSNumber* incognito = [[notification userInfo] |
objectForKey:notification_constants::kNotificationIncognito]; |
+ NSNumber* notificationType = [[notification userInfo] |
+ objectForKey:notification_constants::kNotificationType]; |
// Initialize operation and button index for the case where the |
// notification itself was clicked. |
@@ -88,8 +90,9 @@ enum NotificationOperation { |
notification_constants::kNotificationId : notificationId, |
notification_constants::kNotificationProfileId : profileId, |
notification_constants::kNotificationIncognito : incognito, |
- notification_constants::kNotificationOperation : |
- [NSNumber numberWithInt:operation], |
+ notification_constants::kNotificationType : notificationType, |
+ notification_constants:: |
+ kNotificationOperation : [NSNumber numberWithInt:operation], |
notification_constants:: |
kNotificationButtonIndex : [NSNumber numberWithInt:buttonIndex], |
}; |