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

Unified Diff: components/password_manager/core/browser/password_manager_client.h

Issue 399573002: [Password Generation] Trigger confirmation bubble when a password is saved (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: components/password_manager/core/browser/password_manager_client.h
diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h
index e6aa8317e0a6da3837cede76510ebe2151b9c3f8..8581f0028719addf78b64bf11dcca4428dc2a0c9 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -44,6 +44,11 @@ class PasswordManagerClient {
// that this form doesn't need to be saved.
virtual void PromptUserToSavePassword(PasswordFormManager* form_to_save) = 0;
+ // Called when a password is saved that should show confirmation UI so the
+ // user is aware that saving occured.
+ virtual void ShowPasswordSaveConfirmation(
+ scoped_ptr<PasswordFormManager> saved_form_manager) = 0;
+
// Called when a password is autofilled. |best_matches| contains the
// PasswordForm into which a password was filled: the client may choose to
// save this to the PasswordStore, for example. Default implementation is a

Powered by Google App Engine
This is Rietveld 408576698