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

Issue 1375883002: Support Android username-only credentials. (Closed)

Created:
5 years, 2 months ago by vasilii
Modified:
5 years, 2 months ago
CC:
bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, chromium-reviews, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jdonnelly+autofillwatch_chromium.org, mkwst+watchlist-passwords_chromium.org, rouslan+autofill_chromium.org, vabr+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support Android username-only credentials. They are collected implicitly and should be treated specially. The local credentials without password are just ignored by both the form autofill and Credential Manager API. The federated credentials can be used by the API. However, they shouldn't be used for auto signin. BUG=527073 Committed: https://crrev.com/ee98c3b98d1b34e8a16543ccbcdf69168f8af56b Cr-Commit-Position: refs/heads/master@{#354021}

Patch Set 1 #

Total comments: 23

Patch Set 2 : comments #

Total comments: 8

Patch Set 3 : engedy@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -15 lines) Patch
M chrome/browser/password_manager/password_store_mac.cc View 1 8 chunks +16 lines, -11 lines 0 comments Download
M components/autofill/core/common/password_form.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M components/autofill/core/common/save_password_progress_logger.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/common/save_password_progress_logger.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/core/browser/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/login_database.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_manager_util.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_util.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/password_manager_util_unittest.cc View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store_unittest.cc View 1 2 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 17 (3 generated)
vasilii
Hi guys, please review the CL.
5 years, 2 months ago (2015-09-29 09:25:29 UTC) #2
Mike West
https://codereview.chromium.org/1375883002/diff/1/components/autofill/core/common/password_form.h File components/autofill/core/common/password_form.h (right): https://codereview.chromium.org/1375883002/diff/1/components/autofill/core/common/password_form.h#newcode57 components/autofill/core/common/password_form.h:57: SCHEME_HTML, Nit: `= 0`? Or does `: int` imply ...
5 years, 2 months ago (2015-09-29 09:36:10 UTC) #3
engedy
https://codereview.chromium.org/1375883002/diff/1/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (right): https://codereview.chromium.org/1375883002/diff/1/chrome/browser/password_manager/password_store_mac.cc#newcode242 chrome/browser/password_manager/password_store_mac.cc:242: bool IsDBOnlyForm(const autofill::PasswordForm& form) { nit: IsLoginDatabaseOnlyForm https://codereview.chromium.org/1375883002/diff/1/components/autofill/core/common/password_form.h File ...
5 years, 2 months ago (2015-10-08 17:31:01 UTC) #4
vabr (Chromium)
LGTM once the comments from all reviewers are addressed. Cheers, Vaclav https://codereview.chromium.org/1375883002/diff/1/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (right): ...
5 years, 2 months ago (2015-10-09 07:53:09 UTC) #5
Mike West
On 2015/10/09 at 07:53:09, vabr wrote: > https://codereview.chromium.org/1375883002/diff/1/components/password_manager/core/browser/affiliated_match_helper.cc > File components/password_manager/core/browser/affiliated_match_helper.cc (right): > > https://codereview.chromium.org/1375883002/diff/1/components/password_manager/core/browser/affiliated_match_helper.cc#newcode142 ...
5 years, 2 months ago (2015-10-09 08:35:21 UTC) #6
vasilii
https://codereview.chromium.org/1375883002/diff/1/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (right): https://codereview.chromium.org/1375883002/diff/1/chrome/browser/password_manager/password_store_mac.cc#newcode242 chrome/browser/password_manager/password_store_mac.cc:242: bool IsDBOnlyForm(const autofill::PasswordForm& form) { On 2015/10/08 17:31:00, engedy ...
5 years, 2 months ago (2015-10-12 15:12:48 UTC) #7
engedy
LGTM % comments. I think the CL description says "without username" instead of "without password". ...
5 years, 2 months ago (2015-10-13 12:11:33 UTC) #8
vasilii
Mike? https://codereview.chromium.org/1375883002/diff/20001/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (right): https://codereview.chromium.org/1375883002/diff/20001/chrome/browser/password_manager/password_store_mac.cc#newcode1190 chrome/browser/password_manager/password_store_mac.cc:1190: if (db_form->is_public_suffix_match) On 2015/10/13 12:11:33, engedy wrote: > ...
5 years, 2 months ago (2015-10-13 18:05:26 UTC) #9
vasilii
Mike, please review.
5 years, 2 months ago (2015-10-14 12:37:26 UTC) #10
Mike West
LGTM.
5 years, 2 months ago (2015-10-14 13:58:19 UTC) #11
Mike West
On 2015/10/14 at 13:58:19, Mike West (slow) wrote: > LGTM. (I still don't like that ...
5 years, 2 months ago (2015-10-14 14:00:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375883002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375883002/40001
5 years, 2 months ago (2015-10-14 14:03:00 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-14 14:56:54 UTC) #16
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 14:59:02 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ee98c3b98d1b34e8a16543ccbcdf69168f8af56b
Cr-Commit-Position: refs/heads/master@{#354021}

Powered by Google App Engine
This is Rietveld 408576698