From 6743b837866045c48a7dff54993d2a467d7c902a Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Thu, 25 Oct 2018 22:49:44 +0530 Subject: [PATCH] Add notifications to UKM.xml. https://chromium-review.googlesource.com/c/chromium/src/+/1071649 --- atom/browser/notifications/platform_notification_service.cc | 4 ++++ atom/browser/notifications/platform_notification_service.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/atom/browser/notifications/platform_notification_service.cc b/atom/browser/notifications/platform_notification_service.cc index bd771202b5..768278feec 100644 --- a/atom/browser/notifications/platform_notification_service.cc +++ b/atom/browser/notifications/platform_notification_service.cc @@ -130,4 +130,8 @@ int64_t PlatformNotificationService::ReadNextPersistentNotificationId( return 0; } +void PlatformNotificationService::RecordNotificationUkmEvent( + content::BrowserContext* browser_context, + const content::NotificationDatabaseData& data) {} + } // namespace atom diff --git a/atom/browser/notifications/platform_notification_service.h b/atom/browser/notifications/platform_notification_service.h index 7ca6c1efa8..d89c9e2394 100644 --- a/atom/browser/notifications/platform_notification_service.h +++ b/atom/browser/notifications/platform_notification_service.h @@ -46,6 +46,9 @@ class PlatformNotificationService const DisplayedNotificationsCallback& callback) override; int64_t ReadNextPersistentNotificationId( content::BrowserContext* browser_context) override; + void RecordNotificationUkmEvent( + content::BrowserContext* browser_context, + const content::NotificationDatabaseData& data) override; private: AtomBrowserClient* browser_client_;