Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: chrome/browser/notifications/native_notification_display_service.h

Issue 2714743002: Retrive displayed notifications asynchronously
Patch Set: apply review comments from https://codereview.chromium.org/2709213005/ Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/native_notification_display_service.h
diff --git a/chrome/browser/notifications/native_notification_display_service.h b/chrome/browser/notifications/native_notification_display_service.h
index e0240fe3357709a2398e566a57e4c16699380fa8..41dbe2195c1e79908740e28abadb66e97f51c7a1 100644
--- a/chrome/browser/notifications/native_notification_display_service.h
+++ b/chrome/browser/notifications/native_notification_display_service.h
@@ -39,6 +39,8 @@ class NativeNotificationDisplayService : public NotificationDisplayService {
void Close(NotificationCommon::Type notification_type,
const std::string& notification_id) override;
bool GetDisplayed(std::set<std::string>* notifications) const override;
+ void GetDisplayedAsync(const NotificationCommon::NotificationResultCallback&
+ callback) const override;
// Used by the notification bridge to propagate back events (click, close...).
void ProcessNotificationOperation(NotificationCommon::Operation operation,

Powered by Google App Engine
This is Rietveld 408576698