Make GetDisplayedNotifications asynchronous.
https://codereview.chromium.org/2749453002
This commit is contained in:
parent
bda5e4efcb
commit
7c7300ff82
2 changed files with 4 additions and 5 deletions
|
@ -109,10 +109,9 @@ void PlatformNotificationService::ClosePersistentNotification(
|
|||
const std::string& notification_id) {
|
||||
}
|
||||
|
||||
bool PlatformNotificationService::GetDisplayedNotifications(
|
||||
void PlatformNotificationService::GetDisplayedNotifications(
|
||||
content::BrowserContext* browser_context,
|
||||
std::set<std::string>* displayed_notifications) {
|
||||
return false;
|
||||
const DisplayedNotificationsCallback& callback) {
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
|
|
@ -48,9 +48,9 @@ class PlatformNotificationService
|
|||
const content::NotificationResources& notification_resources) override;
|
||||
void ClosePersistentNotification(content::BrowserContext* browser_context,
|
||||
const std::string& notification_id) override;
|
||||
bool GetDisplayedNotifications(
|
||||
void GetDisplayedNotifications(
|
||||
content::BrowserContext* browser_context,
|
||||
std::set<std::string>* displayed_notifications) override;
|
||||
const DisplayedNotificationsCallback& callback) override;
|
||||
|
||||
private:
|
||||
BrowserClient* browser_client_;
|
||||
|
|
Loading…
Reference in a new issue