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

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

Issue 2749453002: Make GetDisplayedNotifications asynchronous. (Closed)
Patch Set: review Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/notifications/message_center_display_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/message_center_display_service.h
diff --git a/chrome/browser/notifications/message_center_display_service.h b/chrome/browser/notifications/message_center_display_service.h
index 05a8fc377d6344c0d2f4a9326a968fe611e8fea1..2dcf0e9c3a797ef617ec08d2835ec5acac059aa9 100644
--- a/chrome/browser/notifications/message_center_display_service.h
+++ b/chrome/browser/notifications/message_center_display_service.h
@@ -27,7 +27,8 @@ class MessageCenterDisplayService : public NotificationDisplayService {
const Notification& notification) override;
void Close(NotificationCommon::Type notification_type,
const std::string& notification_id) override;
- bool GetDisplayed(std::set<std::string>* notifications) const override;
+ void GetDisplayed(
+ const DisplayedNotificationsCallback& callback) const override;
private:
Profile* profile_;
« no previous file with comments | « no previous file | chrome/browser/notifications/message_center_display_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698