Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2034)

Unified Diff: chrome/browser/password_manager/password_manager_test_base.h

Issue 1929953002: Suppress the autofill password manager after a credential was saved via the API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698