Update PlatformNotificationServiceImpl Interfaces.
This commit is contained in:
parent
ef91261aa5
commit
ce6172b829
2 changed files with 11 additions and 2 deletions
|
@ -63,7 +63,13 @@ void PlatformNotificationServiceImpl::DisplayPersistentNotification(
|
||||||
|
|
||||||
void PlatformNotificationServiceImpl::ClosePersistentNotification(
|
void PlatformNotificationServiceImpl::ClosePersistentNotification(
|
||||||
content::BrowserContext* browser_context,
|
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
|
} // namespace brightray
|
||||||
|
|
|
@ -51,7 +51,10 @@ class PlatformNotificationServiceImpl
|
||||||
const content::PlatformNotificationData& notification_data) override;
|
const content::PlatformNotificationData& notification_data) override;
|
||||||
void ClosePersistentNotification(
|
void ClosePersistentNotification(
|
||||||
content::BrowserContext* browser_context,
|
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_;
|
scoped_ptr<NotificationPresenter> notification_presenter_;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue