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 8856a4b754bdeb012206529c8b4ebba0a40a2ed6..786bf007a493d6813a4f9a4add6c3b6a842741ee 100644 |
--- a/content/shell/browser/layout_test/layout_test_notification_manager.h |
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.h |
@@ -34,6 +34,10 @@ class LayoutTestNotificationManager : public PlatformNotificationService { |
// clicked. Must be called on the UI thread. |
void SimulateClick(const std::string& title, int action_index); |
+ // Simulates the closing a notification titled |title|. Must be called on |
+ // the UI thread. |
+ void SimulateClose(const std::string& title, bool by_user); |
+ |
// PlatformNotificationService implementation. |
blink::WebNotificationPermission CheckPermissionOnUIThread( |
BrowserContext* browser_context, |