FIXME: Move persistent notification id from notification database to profile
https://chromium-review.googlesource.com/c/chromium/src/+/1114840
This commit is contained in:
Родитель
d13e3324c6
Коммит
95cec24387
|
@ -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_;
|
||||
|
|
Загрузка…
Ссылка в новой задаче