Use base::BindOnce in notifications code

https://chromium-review.googlesource.com/c/chromium/src/+/1418170
This commit is contained in:
deepak1556 2019-02-21 13:20:18 +05:30 committed by Samuel Attard
parent 00aeb8e5c5
commit b99ff3448e
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ void PlatformNotificationService::CloseNotification(
void PlatformNotificationService::GetDisplayedNotifications(
content::BrowserContext* browser_context,
const DisplayedNotificationsCallback& callback) {}
DisplayedNotificationsCallback callback) {}
int64_t PlatformNotificationService::ReadNextPersistentNotificationId(
content::BrowserContext* browser_context) {

View file

@ -43,7 +43,7 @@ class PlatformNotificationService
const std::string& notification_id) override;
void GetDisplayedNotifications(
content::BrowserContext* browser_context,
const DisplayedNotificationsCallback& callback) override;
DisplayedNotificationsCallback callback) override;
int64_t ReadNextPersistentNotificationId(
content::BrowserContext* browser_context) override;
void RecordNotificationUkmEvent(