Chromium Code Reviews
DescriptionAccept empty username as sync username in IsSyncAccountCredential
IsSyncAccountCredential is used by SyncCredentialsFilter::ShouldSave to
determine whether a credential to be saved is in fact the user's sync
credential. Chrome won't offer to save the sync credential for security
concerns [1]. Under some circumstances, Chrome might not be able to detect the
username when the user types in the Google credential (which might potentially
be the sync credential). In those cases the username is empty and so far Chrome
would not recognise such credential as the sync credential and saved the
password.
To prevent that, this CL modifies IsSyncAccountCredential to treat an empty
username as equal to the sync username.
[1] https://www.chromium.org/Home/chromium-security/security-faq#TOC-Why-doesn-t-the-Password-Manager-save-my-Google-password-if-I-am-using-Chrome-Sync-
R=dvadym@chromium.org
BUG=636292
Committed: https://crrev.com/7a1668cdc5a4eb44fadd2f947559a03c441a96b5
Cr-Commit-Position: refs/heads/master@{#411035}
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|
||||||||||||||||||||||||||||