CREDENTIAL: Tighten zero-click requirements.
commit9e8c88aad79660b81631d0612a5012c23319fb5c
authormkwst <mkwst@chromium.org>
Mon, 7 Sep 2015 09:34:19 +0000 (7 02:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 7 Sep 2015 09:35:06 +0000 (7 09:35 +0000)
treedffb8fb9e543a39e7dc15a7615031569b11889cc
parenta8e5c1dba8837e4efb048c8840270daed2d83126
CREDENTIAL: Tighten zero-click requirements.

We should sign-in without user mediation only in completely unambigious
circumstances. This patch tighten things up a bit such that multiple
'PasswordForm' objects _always_ prevents zero-click sign-in, rather than
the existing behavior which prevents iff more than one form has the
'skip_zero_click' property set to 'false'.

BUG=528855
R=vabr@chromium.org

Review URL: https://codereview.chromium.org/1312773006

Cr-Commit-Position: refs/heads/master@{#347615}
components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc
components/password_manager/core/browser/credential_manager_pending_request_task.cc