| Index: chrome/browser/notifications/platform_notification_service_impl.cc
|
| diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc
|
| index 427a811436f1b009f4bdbdee1a4b3c17c59c8c1a..02f8cd776a05ce9df8b71bdb65471af962ddec0f 100644
|
| --- a/chrome/browser/notifications/platform_notification_service_impl.cc
|
| +++ b/chrome/browser/notifications/platform_notification_service_impl.cc
|
| @@ -118,8 +118,13 @@ void PlatformNotificationServiceImpl::OnPersistentNotificationClick(
|
| return;
|
| }
|
|
|
| - content::RecordAction(
|
| - base::UserMetricsAction("Notifications.Persistent.Clicked"));
|
| + if (action_index == -1) {
|
| + content::RecordAction(base::UserMetricsAction(
|
| + "Notifications.Persistent.Clicked"));
|
| + } else {
|
| + content::RecordAction(base::UserMetricsAction(
|
| + "Notifications.Persistent.ClickedActionButton"));
|
| + }
|
|
|
| content::NotificationEventDispatcher::GetInstance()
|
| ->DispatchNotificationClickEvent(
|
|
|