Index: chrome/browser/password_manager/password_manager_test_base.h |
diff --git a/chrome/browser/password_manager/password_manager_test_base.h b/chrome/browser/password_manager/password_manager_test_base.h |
index 0ca517950709260d4099a0fcf761a85a32dc82dc..a0f411f83f79f6dff871b64cc5b6affaf0883e4d 100644 |
--- a/chrome/browser/password_manager/password_manager_test_base.h |
+++ b/chrome/browser/password_manager/password_manager_test_base.h |
@@ -67,6 +67,10 @@ class PromptObserver { |
// Checks if the update prompt is being currently shown. |
virtual bool IsShowingUpdatePrompt() const; |
+ // Dismisses the prompt currently open and moves the controller to the |
+ // inactive state. |
+ virtual void Dismiss() const = 0; |
+ |
// Expecting that the prompt is shown, saves the password. Checks that the |
// prompt is no longer visible afterwards. |
void Accept() const; |