mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Update PlatformNotificationServiceImpl Interfaces.
This commit is contained in:
@@ -63,7 +63,13 @@ void PlatformNotificationServiceImpl::DisplayPersistentNotification(
|
||||
|
||||
void PlatformNotificationServiceImpl::ClosePersistentNotification(
|
||||
content::BrowserContext* browser_context,
|
||||
const std::string& persistent_notification_id) {
|
||||
int64_t persistent_notification_id) {
|
||||
}
|
||||
|
||||
bool PlatformNotificationServiceImpl::GetDisplayedPersistentNotifications(
|
||||
content::BrowserContext* browser_context,
|
||||
std::set<std::string>* displayed_notifications) {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
||||
@@ -51,7 +51,10 @@ class PlatformNotificationServiceImpl
|
||||
const content::PlatformNotificationData& notification_data) override;
|
||||
void ClosePersistentNotification(
|
||||
content::BrowserContext* browser_context,
|
||||
const std::string& persistent_notification_id) override;
|
||||
int64_t persistent_notification_id) override;
|
||||
bool GetDisplayedPersistentNotifications(
|
||||
content::BrowserContext* browser_context,
|
||||
std::set<std::string>* displayed_notifications) override;
|
||||
|
||||
scoped_ptr<NotificationPresenter> notification_presenter_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user