Update PlatformNotificationServiceImpl Interfaces.

This commit is contained in:
Haojian Wu 2015-07-23 14:53:42 +08:00 committed by Cheng Zhao
parent ef91261aa5
commit ce6172b829
2 changed files with 11 additions and 2 deletions

View file

@ -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

View file

@ -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_;