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

Issue 2912383004: Fill is_chrome_signin_password field in the password entry pings. (Closed)

Created:
3 years, 6 months ago by Jialiu Lin
Modified:
3 years, 6 months ago
CC:
chromium-reviews, vakh+watch_chromium.org, droger+watchlist_chromium.org, grt+watch_chromium.org, sdefresne+watchlist_chromium.org, timvolodine, blundell+watchlist_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fill is_chrome_signin_password field in the password entry pings. For all the password reuse triggered by CheckSyncPasswordReuse(..), set the saved_domain to password_manager::kSyncPasswordDomain to distinguish from saved password reuse. Related BUILD files are adjusted. And this CL also moves the creation and removal of PasswordProtectionService instances to SB service delegate. BUG=698899 Review-Url: https://codereview.chromium.org/2912383004 Cr-Commit-Position: refs/heads/master@{#477816} Committed: https://chromium.googlesource.com/chromium/src/+/4cd85bfda2021baba6a044d565323ab88e598398

Patch Set 1 #

Patch Set 2 : clean up DEPS file #

Total comments: 10

Patch Set 3 : identify chrome sync password #

Patch Set 4 : NOT READY FOR REVIEW #

Patch Set 5 : Fix deps #

Total comments: 3

Patch Set 6 : move constant to password_manager namespace #

Patch Set 7 : clean up BUILD #

Patch Set 8 : address comments from dvadym and fix unittests #

Patch Set 9 : Only build for desktop chrome #

Patch Set 10 : mv pps to service delegate #

Patch Set 11 : move to SB service delegate #

Total comments: 4

Patch Set 12 : address nparker's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -108 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 2 3 4 5 6 7 8 9 3 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 5 6 7 8 9 7 chunks +4 lines, -28 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_impl.h View 1 2 3 4 5 6 7 8 9 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_stub.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_stub.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/DEPS View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_reuse_detection_manager.cc View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_reuse_detector.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 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 2 chunks +4 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_reuse_detector_consumer.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_reuse_detector_unittest.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_store_unittest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M components/safe_browsing/password_protection/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +44 lines, -38 lines 0 comments Download
M components/safe_browsing/password_protection/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -4 lines 0 comments Download
M components/safe_browsing/password_protection/password_protection_request.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -1 line 0 comments Download
M components/safe_browsing/password_protection/password_protection_service_unittest.cc View 1 2 3 4 5 6 7 5 chunks +25 lines, -8 lines 0 comments Download

Messages

Total messages: 76 (61 generated)
Jialiu Lin
Hi dvadym@, I filled the is_chrome_signin_password field based on the domain of the saved password. ...
3 years, 6 months ago (2017-05-31 21:58:18 UTC) #4
Nathan Parker
https://codereview.chromium.org/2912383004/diff/20001/components/safe_browsing/password_protection/DEPS File components/safe_browsing/password_protection/DEPS (left): https://codereview.chromium.org/2912383004/diff/20001/components/safe_browsing/password_protection/DEPS#oldcode6 components/safe_browsing/password_protection/DEPS:6: "+components/safe_browsing_db", how is this not needed? Or is it ...
3 years, 6 months ago (2017-05-31 22:40:55 UTC) #6
vakh (use Gerrit instead)
lgtm modulo nparker's comment in .cc file https://codereview.chromium.org/2912383004/diff/20001/components/safe_browsing/password_protection/DEPS File components/safe_browsing/password_protection/DEPS (left): https://codereview.chromium.org/2912383004/diff/20001/components/safe_browsing/password_protection/DEPS#oldcode6 components/safe_browsing/password_protection/DEPS:6: "+components/safe_browsing_db", On ...
3 years, 6 months ago (2017-06-01 00:02:25 UTC) #7
Jialiu Lin
Seems ios bots are not happy with my change. I'm still working on fixing dependencies. ...
3 years, 6 months ago (2017-06-01 01:22:01 UTC) #24
Jialiu Lin
Hi dvadym@ and nparker@, Could you hold your review for a moment? There are still ...
3 years, 6 months ago (2017-06-01 02:38:13 UTC) #25
Jialiu Lin
Hi dvadym@, Since we are not using the |saved_domain| so far, I added a constant ...
3 years, 6 months ago (2017-06-01 23:56:28 UTC) #29
dvadym
Hi Jialiu, yeah, this approach makes sense. See my comment below https://codereview.chromium.org/2912383004/diff/110001/components/password_manager/core/browser/password_reuse_detector_consumer.h File components/password_manager/core/browser/password_reuse_detector_consumer.h (right): ...
3 years, 6 months ago (2017-06-02 09:28:55 UTC) #32
Jialiu Lin
Thanks dvadym@! I've moved the new constant to password_manager namespace. https://codereview.chromium.org/2912383004/diff/110001/components/password_manager/core/browser/password_reuse_detector_consumer.h File components/password_manager/core/browser/password_reuse_detector_consumer.h (right): https://codereview.chromium.org/2912383004/diff/110001/components/password_manager/core/browser/password_reuse_detector_consumer.h#newcode25 ...
3 years, 6 months ago (2017-06-06 01:00:53 UTC) #60
dvadym
LGTM https://codereview.chromium.org/2912383004/diff/110001/components/password_manager/core/browser/password_reuse_detector_consumer.h File components/password_manager/core/browser/password_reuse_detector_consumer.h (right): https://codereview.chromium.org/2912383004/diff/110001/components/password_manager/core/browser/password_reuse_detector_consumer.h#newcode25 components/password_manager/core/browser/password_reuse_detector_consumer.h:25: // safe_browsing::kChromeSyncDomain if |password| is a sync password. ...
3 years, 6 months ago (2017-06-06 09:10:19 UTC) #63
Jialiu Lin
Thank you dvadym@! nparker@, vakh@, could you review for safe_browsing side of change? Thanks!
3 years, 6 months ago (2017-06-06 16:23:47 UTC) #64
Jialiu Lin
ping nparker@ and vakh@ vakh@, I made some updates after your LGTM, let me know ...
3 years, 6 months ago (2017-06-07 21:15:14 UTC) #65
Nathan Parker
lgtm https://codereview.chromium.org/2912383004/diff/250001/chrome/browser/safe_browsing/services_delegate_stub.cc File chrome/browser/safe_browsing/services_delegate_stub.cc (right): https://codereview.chromium.org/2912383004/diff/250001/chrome/browser/safe_browsing/services_delegate_stub.cc#newcode78 chrome/browser/safe_browsing/services_delegate_stub.cc:78: return nullptr; nit: Does this get called? If ...
3 years, 6 months ago (2017-06-07 22:16:06 UTC) #66
Jialiu Lin
Thanks nparker@! Your comments are addressed. https://codereview.chromium.org/2912383004/diff/250001/chrome/browser/safe_browsing/services_delegate_stub.cc File chrome/browser/safe_browsing/services_delegate_stub.cc (right): https://codereview.chromium.org/2912383004/diff/250001/chrome/browser/safe_browsing/services_delegate_stub.cc#newcode78 chrome/browser/safe_browsing/services_delegate_stub.cc:78: return nullptr; On ...
3 years, 6 months ago (2017-06-07 22:41:50 UTC) #69
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/2912383004/270001
3 years, 6 months ago (2017-06-07 23:51:25 UTC) #73
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 00:10:00 UTC) #76
Message was sent while issue was closed.
Committed patchset #12 (id:270001) as
https://chromium.googlesource.com/chromium/src/+/4cd85bfda2021baba6a044d56532...

Powered by Google App Engine
This is Rietveld 408576698