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

Issue 2233833002: Accept empty username as sync username in IsSyncAccountCredential (Closed)

Created:
4 years, 4 months ago by vabr (Chromium)
Modified:
4 years, 4 months ago
Reviewers:
dvadym
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Accept 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M components/password_manager/sync/browser/password_sync_util.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M components/password_manager/sync/browser/password_sync_util_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
dvadym
On 2016/08/10 13:02:18, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 4 months ago (2016-08-10 13:12:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2233833002/1
4 years, 4 months ago (2016-08-10 13:14:15 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-10 14:11:53 UTC) #7
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 14:13:00 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7a1668cdc5a4eb44fadd2f947559a03c441a96b5
Cr-Commit-Position: refs/heads/master@{#411035}

Powered by Google App Engine
This is Rietveld 408576698