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

Issue 2513033002: Refactor CredentialManagerImpl::RequireUserMediation method. (Closed)

Created:
4 years, 1 month ago by vasilii
Modified:
4 years, 1 month ago
CC:
chromium-reviews, jam, gcasto+watchlist_chromium.org, darin-cc_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor CredentialManagerImpl::RequireUserMediation method. CredentialManagerImpl shouldn't use PasswordStore::GetAutofillableLogins. It's not effective. Instead GetLogins() should be used like in the PasswordFormManager. BUG=666340 Committed: https://crrev.com/8f99dc049b44da99478c2d714834960a859afbff Cr-Commit-Position: refs/heads/master@{#433826}

Patch Set 1 #

Total comments: 4

Patch Set 2 : ios #

Total comments: 2

Messages

Total messages: 22 (13 generated)
vasilii
Hi all, please review. Jan, I added you because you'll need to know this code.
4 years, 1 month ago (2016-11-18 17:42:04 UTC) #4
vabr (Chromium)
LGTM, thanks for this great simplification and clean-up. I have no requests for code change, ...
4 years, 1 month ago (2016-11-21 09:39:06 UTC) #7
vasilii
Jan? https://codereview.chromium.org/2513033002/diff/1/components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc File components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc (right): https://codereview.chromium.org/2513033002/diff/1/components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc#newcode19 components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc:19: void CredentialManagerPendingRequireUserMediationTask::AddOrigin( On 2016/11/21 09:39:06, vabr (Chromium) wrote: ...
4 years, 1 month ago (2016-11-21 18:57:09 UTC) #9
jdoerrie
LGTM, although I must admit I'm very inexperienced with this part of the codebase. Could ...
4 years, 1 month ago (2016-11-21 22:45:35 UTC) #13
vasilii
Vaclav, originally GetLogins() didn't read the federated credentials. That's why the implementation was like this. ...
4 years, 1 month ago (2016-11-22 09:39:22 UTC) #14
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/2513033002/20001
4 years, 1 month ago (2016-11-22 09:40:01 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-22 09:43:44 UTC) #19
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/8f99dc049b44da99478c2d714834960a859afbff Cr-Commit-Position: refs/heads/master@{#433826}
4 years, 1 month ago (2016-11-22 09:46:03 UTC) #21
vabr (Chromium)
4 years, 1 month ago (2016-11-22 10:53:39 UTC) #22
Message was sent while issue was closed.
On 2016/11/22 09:39:22, vasilii wrote:
> Vaclav, originally GetLogins() didn't read the federated credentials. That's
why
> the implementation was like this.

Thanks for the explanation!

Cheers,
Vaclav

Powered by Google App Engine
This is Rietveld 408576698