зеркало из https://github.com/electron/electron.git
Update PlatformNotificationServiceImpl Interfaces.
This commit is contained in:
Родитель
ef91261aa5
Коммит
ce6172b829
|
@ -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_;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче