Index: chrome/browser/notifications/persistent_notification_delegate.cc |
diff --git a/chrome/browser/notifications/persistent_notification_delegate.cc b/chrome/browser/notifications/persistent_notification_delegate.cc |
index dba99c7d0f48a3411cc262e735a4a78de0ee1384..212a6d84cb2a56e30c39e1984f56f93acf5a75c0 100644 |
--- a/chrome/browser/notifications/persistent_notification_delegate.cc |
+++ b/chrome/browser/notifications/persistent_notification_delegate.cc |
@@ -33,7 +33,16 @@ void PersistentNotificationDelegate::Click() { |
PlatformNotificationServiceImpl::GetInstance()->OnPersistentNotificationClick( |
browser_context_, |
persistent_notification_id_, |
- origin_); |
+ origin_, |
+ -1 /* action_index */); |
+} |
+ |
+void PersistentNotificationDelegate::ButtonClick(int button_index) { |
+ PlatformNotificationServiceImpl::GetInstance()->OnPersistentNotificationClick( |
+ browser_context_, |
+ persistent_notification_id_, |
+ origin_, |
+ button_index); |
} |
std::string PersistentNotificationDelegate::id() const { |