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

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 reviewers' comments Created 5 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/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 4fd82d742117b0dd15011221599ecbb9c935ee44..d44e419611f56a61fb7046c6d57235f7c3d59383 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& origin) 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