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

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

Issue 1151373006: Update Confirmation UI for saved password change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed reviewer comments and made showing new password in update bubble Created 5 years, 4 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/stub_password_manager_client.h
diff --git a/components/password_manager/core/browser/stub_password_manager_client.h b/components/password_manager/core/browser/stub_password_manager_client.h
index 80d3bd3dcade9dd9210d101884894df13e9f2a6d..c887b32cd1ae3b9f6b3744a4c32a1af3b1c291bc 100644
--- a/components/password_manager/core/browser/stub_password_manager_client.h
+++ b/components/password_manager/core/browser/stub_password_manager_client.h
@@ -22,9 +22,10 @@ class StubPasswordManagerClient : public PasswordManagerClient {
bool IsSyncAccountCredential(const std::string& username,
const std::string& realm) const override;
bool ShouldFilterAutofillResult(const autofill::PasswordForm& form) override;
- bool PromptUserToSavePassword(
+ bool PromptUserToSaveOrUpdatePassword(
scoped_ptr<PasswordFormManager> form_to_save,
- password_manager::CredentialSourceType type) override;
+ password_manager::CredentialSourceType type,
+ bool update_password) override;
bool PromptUserToChooseCredentials(
ScopedVector<autofill::PasswordForm> local_forms,
ScopedVector<autofill::PasswordForm> federated_forms,

Powered by Google App Engine
This is Rietveld 408576698