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 53c59309642cf2e46ac743306bb1f2f206dde040..fdcdeb87af14accf9b1b517bf31848e95e143ff1 100644 |
--- a/content/shell/browser/layout_test/layout_test_notification_manager.h |
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.h |
@@ -27,9 +27,10 @@ class LayoutTestNotificationManager : public PlatformNotificationService { |
LayoutTestNotificationManager(); |
~LayoutTestNotificationManager() override; |
- // Simulates a click on the notification titled |title|. Must be called on the |
- // UI thread. |
- void SimulateClick(const std::string& title); |
+ // Simulates a click on the notification titled |title|. |action_index| |
+ // indicates which action was clicked, or -1 if the main notification body was |
+ // clicked. Must be called on the UI thread. |
+ void SimulateClick(const std::string& title, int action_index); |
// PlatformNotificationService implementation. |
blink::WebNotificationPermission CheckPermissionOnUIThread( |