mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
FIXME: Move persistent notification id from notification database to profile
https://chromium-review.googlesource.com/c/chromium/src/+/1114840
This commit is contained in:
@@ -121,4 +121,10 @@ void PlatformNotificationService::GetDisplayedNotifications(
|
||||
content::BrowserContext* browser_context,
|
||||
const DisplayedNotificationsCallback& callback) {}
|
||||
|
||||
int64_t PlatformNotificationService::ReadNextPersistentNotificationId(
|
||||
content::BrowserContext* browser_context) {
|
||||
// Electron doesn't support persistent notifications.
|
||||
return 0;
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
||||
@@ -43,6 +43,8 @@ class PlatformNotificationService
|
||||
void GetDisplayedNotifications(
|
||||
content::BrowserContext* browser_context,
|
||||
const DisplayedNotificationsCallback& callback) override;
|
||||
int64_t ReadNextPersistentNotificationId(
|
||||
content::BrowserContext* browser_context) override;
|
||||
|
||||
private:
|
||||
BrowserClient* browser_client_;
|
||||
|
||||
Reference in New Issue
Block a user