Commit e697555c authored by Mohamed Amir Yosef's avatar Mohamed Amir Yosef Committed by Commit Bot

[Passwords] Update comment of FormSaver::UpdateReplace()

This comment was written before LoginDatabase got a proper primary key
field.

Change-Id: I9802cd6576d462da91b98f87f347b5ed1cc41d94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220025Reviewed-by: default avatarVasilii Sukhanov <vasilii@chromium.org>
Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org>
Cr-Commit-Position: refs/heads/master@{#772676}
parent 4ca50e35
......@@ -53,10 +53,10 @@ class FormSaver {
const std::vector<const autofill::PasswordForm*>& matches,
const base::string16& old_password) = 0;
// If any of the primary key fields (signon_realm, origin, username_element,
// If any of the unique key fields (signon_realm, origin, username_element,
// username_value, password_element) are updated, then the this version of
// the Update method must be used, which takes |old_primary_key|, i.e., the
// old values for the primary key fields (the rest of the fields are ignored).
// the Update method must be used, which takes |old_unique_key|, i.e., the
// old values for the unique key fields (the rest of the fields are ignored).
// The algorithm for handling |matches| and |old_password| is the same as
// above.
virtual void UpdateReplace(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment