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

Unified Diff: content/shell/browser/layout_test/layout_test_notification_manager.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
Index: content/shell/browser/layout_test/layout_test_notification_manager.h
diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.h b/content/shell/browser/layout_test/layout_test_notification_manager.h
index 25ce88f2cef5425a6c0f57cc5a93cef463dd5e32..184b13e2bd437fd321a2ff8cf6fbc2f92d041c4a 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.h
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.h
@@ -71,9 +71,9 @@ class LayoutTestNotificationManager : public PlatformNotificationService {
const NotificationResources& notification_resources) override;
void ClosePersistentNotification(BrowserContext* browser_context,
const std::string& notification_id) override;
- bool GetDisplayedNotifications(
+ void GetDisplayedNotifications(
BrowserContext* browser_context,
- std::set<std::string>* displayed_notifications) override;
+ const DisplayedNotificationsCallback& callback) override;
private:
// Structure to represent the information of a persistent notification.

Powered by Google App Engine
This is Rietveld 408576698