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

Issue 2517993004: Refactor CredentialManagerImpl::Get. It should use PasswordStore::GetLogins(). (Closed)

Created:
4 years, 1 month ago by vasilii
Modified:
4 years 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::Get. It should use PasswordStore::GetLogins(). The PSL matches are filtered out. The decision to filter the Android federated credentials in PasswordStore was taken in https://codereview.chromium.org/1385563007. It was wrong for the long term. BUG=666340 Committed: https://crrev.com/abcf35aa714af18959364b626d5929975768f66a Cr-Commit-Position: refs/heads/master@{#434147}

Patch Set 1 #

Patch Set 2 : is_affiliation_based_match #

Patch Set 3 : iOS #

Total comments: 9

Patch Set 4 : comments #

Patch Set 5 : use set #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -124 lines) Patch
M components/password_manager/content/browser/credential_manager_impl.h View 2 chunks +3 lines, -10 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_impl.cc View 3 chunks +12 lines, -33 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_impl_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.h View 1 2 3 4 3 chunks +1 line, -7 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.cc View 1 2 3 4 3 chunks +8 lines, -19 lines 0 comments Download
M components/password_manager/core/browser/form_fetcher_impl_unittest.cc View 1 5 chunks +20 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_store.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_store.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/password_store_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/passwords/credential_manager.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M ios/chrome/browser/passwords/credential_manager.mm View 1 2 2 chunks +4 lines, -12 lines 0 comments Download
M ios/chrome/browser/passwords/credential_manager_unittest.mm View 1 2 15 chunks +34 lines, -26 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
vasilii
Hi guys, please review the CL.
4 years, 1 month ago (2016-11-22 18:56:53 UTC) #5
vabr (Chromium)
Thanks, Vasilii. My main question is: How do we make sure that the issue reported ...
4 years ago (2016-11-23 08:57:56 UTC) #8
vasilii
What you asked is tested by FormFetcherImplTest.Federated and FormFetcherImplTest.Mixed https://codereview.chromium.org/2517993004/diff/40001/components/password_manager/content/browser/credential_manager_impl_unittest.cc File components/password_manager/content/browser/credential_manager_impl_unittest.cc (left): https://codereview.chromium.org/2517993004/diff/40001/components/password_manager/content/browser/credential_manager_impl_unittest.cc#oldcode573 components/password_manager/content/browser/credential_manager_impl_unittest.cc:573: ...
4 years ago (2016-11-23 09:40:54 UTC) #11
vabr (Chromium)
Thanks, Vasilii. Good point about the FormFetcherImplTests checking the handling of federated forms, that sounds ...
4 years ago (2016-11-23 09:51:03 UTC) #12
vasilii
https://codereview.chromium.org/2517993004/diff/40001/components/password_manager/core/browser/credential_manager_pending_request_task.h File components/password_manager/core/browser/credential_manager_pending_request_task.h (right): https://codereview.chromium.org/2517993004/diff/40001/components/password_manager/core/browser/credential_manager_pending_request_task.h#newcode76 components/password_manager/core/browser/credential_manager_pending_request_task.h:76: std::vector<std::string> federations_; On 2016/11/23 09:51:03, vabr (Chromium) wrote: > ...
4 years ago (2016-11-23 10:15:13 UTC) #13
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/2517993004/80001
4 years ago (2016-11-23 10:15:29 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/322650)
4 years ago (2016-11-23 10:53:03 UTC) #18
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/2517993004/80001
4 years ago (2016-11-23 11:00:48 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-11-23 11:47:05 UTC) #23
commit-bot: I haz the power
4 years ago (2016-11-23 11:48:54 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/abcf35aa714af18959364b626d5929975768f66a
Cr-Commit-Position: refs/heads/master@{#434147}

Powered by Google App Engine
This is Rietveld 408576698