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 81fc26058939951b91db53ff9920d29ac880b914..c7043bf4b7dced61b7838719ef69bf4540e5bbbb 100644 |
--- a/chrome/browser/password_manager/password_manager_test_base.h |
+++ b/chrome/browser/password_manager/password_manager_test_base.h |
@@ -94,6 +94,11 @@ class BubbleObserver { |
// PasswordManagerBrowserTestBase. |
void WaitForManagementState() const; |
+ // Returns once the save prompt pops up or it's already shown. |
+ // |web_contents| must be the custom one returned by |
+ // PasswordManagerBrowserTestBase. |
+ void WaitForSavePrompt() const; |
+ |
private: |
ManagePasswordsUIController* const passwords_ui_controller_; |