summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/layout_test/layout_test_notification_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/browser/layout_test/layout_test_notification_manager.cc')
-rw-r--r--content/shell/browser/layout_test/layout_test_notification_manager.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.cc b/content/shell/browser/layout_test/layout_test_notification_manager.cc
index a30c719..057cc17 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.cc
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc
@@ -97,6 +97,15 @@ void LayoutTestNotificationManager::ClosePersistentNotification(
}
}
+bool LayoutTestNotificationManager::GetDisplayedPersistentNotifications(
+ BrowserContext* browser_context,
+ std::set<std::string>* displayed_notifications) {
+ DCHECK(displayed_notifications);
+
+ // Notifications will never outlive the lifetime of running layout tests.
+ return false;
+}
+
void LayoutTestNotificationManager::SimulateClick(const std::string& title) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);