DescriptionCredential Manager: Return the first valid item from the PasswordStore.
This patch completes the initial, dead simple, pretty dumb implementation
of '.request()'. We poke at the PasswordStore for the origin currently
committed in the RenderViewHost's main frame, and if we get anything at
all, we return it.
We can't expose this implementation to the web for obvious reasons. But
it's pefectly wonderful for testing.
------------------------------------------------------------------------
This is a re-land of https://codereview.chromium.org/613143003/, which
was reverted due to LSAN issues caused by not properly taking ownership
of PasswordForm objects returned from PasswordStore::GetLogins.
------------------------------------------------------------------------
BUG=400674
R=vabr@chromium.org
Committed: https://crrev.com/124fe9402f30fd855c3673f77af176e3e97b7592
Cr-Commit-Position: refs/heads/master@{#297619}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|