mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
Use base::BindOnce in notifications code
https://chromium-review.googlesource.com/c/chromium/src/+/1418170
This commit is contained in:
committed by
Samuel Attard
parent
00aeb8e5c5
commit
b99ff3448e
@@ -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) {
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user