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

Unified Diff: components/password_manager/core/browser/credential_manager_pending_request_task.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: components/password_manager/core/browser/credential_manager_pending_request_task.h
diff --git a/components/password_manager/core/browser/credential_manager_pending_request_task.h b/components/password_manager/core/browser/credential_manager_pending_request_task.h
index d69a3a3a1029b98b7acb3d481fd7b07b24164d32..61211b2194a8a51a8e8121f5b5a212111f28b389 100644
--- a/components/password_manager/core/browser/credential_manager_pending_request_task.h
+++ b/components/password_manager/core/browser/credential_manager_pending_request_task.h
@@ -42,6 +42,10 @@ class CredentialManagerPendingRequestTaskDelegate {
// Sends a credential to JavaScript.
virtual void SendCredential(int id, const CredentialInfo& credential) = 0;
+
+ // Updates |skip_zero_click| for |form| in the PasswordStore if required.
+ // Sends a credential to JavaScript.
+ virtual void SendPasswordForm(int id, const autofill::PasswordForm* form) = 0;
};
// Retrieves credentials from the PasswordStore.

Powered by Google App Engine
This is Rietveld 408576698