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

Issue 2585253002: Integration of PasswordReuseDetector into PasswordStore. (Closed)

Created:
4 years ago by dvadym
Modified:
3 years, 11 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Integration of PasswordReuseDetector into PasswordStore. This CL includes: 1.Creating, initializing and updating PasswordReuseDetector instance as a member of PasswordStore. 2.Introducing all flows for checking password reuse with CheckReuse() of ChromePasswordManagerClient and receiving response. ChromePasswordManagerClient.CheckReuse() is not called now, it will be implemented in next CLs. BUG=657041 Committed: https://crrev.com/ab0dd7668e48e6c0b84396b1bdbd80435aba1f6d Cr-Commit-Position: refs/heads/master@{#440865}

Patch Set 1 #

Patch Set 2 : Init reusedetector #

Patch Set 3 : Tests #

Patch Set 4 : pretifying #

Patch Set 5 : rebase #

Patch Set 6 : Tests fix #

Patch Set 7 : more tests #

Total comments: 44

Patch Set 8 : Addressing reviewer's comments #

Patch Set 9 : Reverted changes in PasswordManagerClinet #

Patch Set 10 : Added missing files #

Patch Set 11 : Fixed thread issues #

Patch Set 12 : tiny fix #

Total comments: 6

Patch Set 13 : Addressed comments #

Patch Set 14 : Tests fix #

Patch Set 15 : Thread fixes #

Total comments: 6

Patch Set 16 : rebase #

Patch Set 17 : Update comment #

Patch Set 18 : Update comment #

Patch Set 19 : attempt mac fix #

Patch Set 20 : fix mac test and disable Init of ReuseDetector on Mac #

Patch Set 21 : Disable test for mac #

Patch Set 22 : Fix mac test #

Total comments: 8

Patch Set 23 : comments fixes #

Patch Set 24 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -31 lines) Patch
M chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +10 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_test_utils.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_test_utils.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_reuse_detector.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -8 lines 0 comments Download
M components/password_manager/core/browser/password_reuse_detector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +20 lines, -8 lines 0 comments Download
A components/password_manager/core/browser/password_reuse_detector_consumer.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +30 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/password_reuse_detector_consumer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +13 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_reuse_detector_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +31 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/password_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +42 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/password_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 6 chunks +45 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/password_store_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 65 (35 generated)
dvadym
Hi Vaclav, Could you please review this CL? Regards, Vadym
4 years ago (2016-12-20 15:59:57 UTC) #5
vabr (Chromium)
Hi Vadym, Looks good in general, some comments below. Cheers, Vaclav https://codereview.chromium.org/2585253002/diff/120001/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): ...
4 years ago (2016-12-20 18:11:45 UTC) #7
dvadym
Thanks a lot Vaclav for comments. I've addressed them. PTAL https://codereview.chromium.org/2585253002/diff/120001/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/2585253002/diff/120001/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode384 ...
4 years ago (2016-12-21 12:15:36 UTC) #8
dvadym
Now it's ready for review. I've fixed some threading issues. PTAL. https://codereview.chromium.org/2585253002/diff/120001/components/password_manager/core/browser/password_store.h File components/password_manager/core/browser/password_store.h (right): ...
4 years ago (2016-12-21 14:03:21 UTC) #9
vabr (Chromium)
Thanks, Vadym! LGTM with comments. Cheers, Vaclav https://codereview.chromium.org/2585253002/diff/120001/components/password_manager/core/browser/password_reuse_detector.cc File components/password_manager/core/browser/password_reuse_detector.cc (right): https://codereview.chromium.org/2585253002/diff/120001/components/password_manager/core/browser/password_reuse_detector.cc#newcode32 components/password_manager/core/browser/password_reuse_detector.cc:32: if (change.type() ...
4 years ago (2016-12-21 14:38:20 UTC) #10
dvadym
Thanks Vaclav for review! https://codereview.chromium.org/2585253002/diff/220001/components/password_manager/core/browser/password_reuse_detector.cc File components/password_manager/core/browser/password_reuse_detector.cc (right): https://codereview.chromium.org/2585253002/diff/220001/components/password_manager/core/browser/password_reuse_detector.cc#newcode27 components/password_manager/core/browser/password_reuse_detector.cc:27: AddPassword(*form.get()); On 2016/12/21 14:38:19, vabr ...
4 years ago (2016-12-21 17:25:47 UTC) #11
vabr (Chromium)
LGTM! :)
4 years ago (2016-12-21 17:27:13 UTC) #12
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/2585253002/240001
4 years ago (2016-12-21 17:55:16 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/127998)
4 years ago (2016-12-21 18:24:16 UTC) #16
dvadym
Vaclav could please have a look again? You can check difference with PatchSet 13. The ...
4 years ago (2016-12-22 14:50:55 UTC) #23
vabr (Chromium)
LGTM with one comment. Thanks! Vaclav https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc (right): https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc#newcode113 chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc:113: EXPECT_CALL(*GetStore(), FillAutofillableLogins(_)); It ...
4 years ago (2016-12-22 16:15:13 UTC) #24
dvadym
https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc (right): https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc#newcode113 chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc:113: EXPECT_CALL(*GetStore(), FillAutofillableLogins(_)); On 2016/12/22 16:15:12, vabr (Chromium) wrote: > ...
4 years ago (2016-12-22 16:23:12 UTC) #25
vabr (Chromium)
https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc (right): https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc#newcode113 chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc:113: EXPECT_CALL(*GetStore(), FillAutofillableLogins(_)); On 2016/12/22 16:23:12, dvadym wrote: > On ...
4 years ago (2016-12-22 16:33:30 UTC) #26
dvadym
https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc (right): https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc#newcode113 chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc:113: EXPECT_CALL(*GetStore(), FillAutofillableLogins(_)); On 2016/12/22 16:33:30, vabr (Chromium) wrote: > ...
4 years ago (2016-12-22 16:57:57 UTC) #27
vabr (Chromium)
Silly me! :) Still LGTM. Cheers, Vaclav https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc (right): https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc#newcode113 chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc:113: EXPECT_CALL(*GetStore(), FillAutofillableLogins(_)); ...
4 years ago (2016-12-22 17:14:31 UTC) #30
dvadym
Thanks for review! https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc (right): https://codereview.chromium.org/2585253002/diff/280001/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc#newcode113 chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc:113: EXPECT_CALL(*GetStore(), FillAutofillableLogins(_)); On 2016/12/22 17:14:31, vabr ...
4 years ago (2016-12-22 17:31:18 UTC) #31
vabr (Chromium)
lgtm
4 years ago (2016-12-22 17:41:23 UTC) #34
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/2585253002/340001
3 years, 12 months ago (2016-12-22 20:41:08 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/359631)
3 years, 12 months ago (2016-12-22 23:03:51 UTC) #40
dvadym
Hi Vaclav, I've fixed Mac issues with tests and disabled for now PasswordReuse detector init ...
3 years, 11 months ago (2016-12-28 13:20:20 UTC) #41
dvadym
I've decided that for now it's easier to disable test on Mac. So please have ...
3 years, 11 months ago (2016-12-28 13:38:21 UTC) #42
vabr (Chromium)
LGTM with nits. Thanks! Vaclav https://codereview.chromium.org/2585253002/diff/420001/components/password_manager/core/browser/password_store.cc File components/password_manager/core/browser/password_store.cc (right): https://codereview.chromium.org/2585253002/diff/420001/components/password_manager/core/browser/password_store.cc#newcode695 components/password_manager/core/browser/password_store.cc:695: // TODO(crbug.com/668155): For non-migrated ...
3 years, 11 months ago (2016-12-28 15:48:02 UTC) #47
dvadym
Thanks for review Vaclav! https://codereview.chromium.org/2585253002/diff/420001/components/password_manager/core/browser/password_store.cc File components/password_manager/core/browser/password_store.cc (right): https://codereview.chromium.org/2585253002/diff/420001/components/password_manager/core/browser/password_store.cc#newcode695 components/password_manager/core/browser/password_store.cc:695: // TODO(crbug.com/668155): For non-migrated keychain ...
3 years, 11 months ago (2016-12-28 15:59:01 UTC) #48
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/2585253002/440001
3 years, 11 months ago (2016-12-28 15:59:35 UTC) #51
commit-bot: I haz the power
Failed to apply patch for components/password_manager/core/browser/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2016-12-28 16:44:57 UTC) #53
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/2585253002/440001
3 years, 11 months ago (2016-12-28 16:49:26 UTC) #55
commit-bot: I haz the power
Failed to apply patch for components/password_manager/core/browser/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2016-12-28 16:53:07 UTC) #57
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/2585253002/460001
3 years, 11 months ago (2016-12-28 16:56:58 UTC) #60
commit-bot: I haz the power
Committed patchset #24 (id:460001)
3 years, 11 months ago (2016-12-28 18:02:40 UTC) #63
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:49:30 UTC) #65
Message was sent while issue was closed.
Patchset 24 (id:??) landed as
https://crrev.com/ab0dd7668e48e6c0b84396b1bdbd80435aba1f6d
Cr-Commit-Position: refs/heads/master@{#440865}

Powered by Google App Engine
This is Rietveld 408576698