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

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

Issue 1832933002: Update the |skip_zero_click| flag of a credential when selected in the account chooser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 9 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/chrome_password_manager_client.h
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.h b/chrome/browser/password_manager/chrome_password_manager_client.h
index 8d0f0239e48389e43121e3097e9c1c5275c77d8d..ffe628ad4aa21eecadd0fae82dab5307357ae155 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.h
+++ b/chrome/browser/password_manager/chrome_password_manager_client.h
@@ -58,8 +58,7 @@ class ChromePasswordManagerClient
ScopedVector<autofill::PasswordForm> local_forms,
ScopedVector<autofill::PasswordForm> federated_forms,
const GURL& origin,
- base::Callback<void(const password_manager::CredentialInfo&)> callback)
- override;
+ const CredentialsCallback& callback) override;
void ForceSavePassword() override;
void GeneratePassword() override;
void NotifyUserAutoSignin(
@@ -155,10 +154,10 @@ class ChromePasswordManagerClient
// for UMA stats.
void GenerationAvailableForForm(const autofill::PasswordForm& form);
- // Called as a response to PromptUserToChooseCredentials.
- void OnCredentialsChosen(
- base::Callback<void(const password_manager::CredentialInfo&)> callback,
- const password_manager::CredentialInfo& credential);
+ // Called as a response to PromptUserToChooseCredentials. nullptr means that
+ // nothing was chosen.
+ void OnCredentialsChosen(const CredentialsCallback& callback,
+ const autofill::PasswordForm* form);
Profile* const profile_;

Powered by Google App Engine
This is Rietveld 408576698