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

Issue 2878813002: Trigger protected password entry request on password reuse event. (Closed)

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

Description

Trigger protected password entry request on password reuse event. BUG=698899 Review-Url: https://codereview.chromium.org/2878813002 Cr-Commit-Position: refs/heads/master@{#472828} Committed: https://chromium.googlesource.com/chromium/src/+/31a45cd7736a6224fa8f7b6eafc091fd25d8b803

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 16

Patch Set 3 : address comments from nparker #

Patch Set 4 : add unit tests to verify request proto #

Patch Set 5 : nit #

Patch Set 6 : put request in ChromePasswordManagerClient #

Total comments: 2

Patch Set 7 : deprecating unused metric and rebase update #

Patch Set 8 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -102 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client_unittest.cc View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_client.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_reuse_detection_manager.cc View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M components/password_manager/core/browser/stub_password_manager_client.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/stub_password_manager_client.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M components/safe_browsing/password_protection/password_protection_request.h View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M components/safe_browsing/password_protection/password_protection_request.cc View 1 2 3 4 5 6 3 chunks +37 lines, -15 lines 0 comments Download
M components/safe_browsing/password_protection/password_protection_service.h View 1 2 3 4 5 6 4 chunks +5 lines, -8 lines 0 comments Download
M components/safe_browsing/password_protection/password_protection_service.cc View 1 2 3 4 5 6 4 chunks +27 lines, -21 lines 0 comments Download
M components/safe_browsing/password_protection/password_protection_service_unittest.cc View 1 2 3 4 5 6 13 chunks +102 lines, -55 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (22 generated)
Jialiu Lin
Hi nparker@, dvadym@, This is the CL to trigger protected password entry ping (a.k.a password ...
3 years, 7 months ago (2017-05-12 17:38:05 UTC) #6
Nathan Parker
https://codereview.chromium.org/2878813002/diff/20001/components/password_manager/core/browser/password_reuse_detection_manager.cc File components/password_manager/core/browser/password_reuse_detection_manager.cc (right): https://codereview.chromium.org/2878813002/diff/20001/components/password_manager/core/browser/password_reuse_detection_manager.cc#newcode72 components/password_manager/core/browser/password_reuse_detection_manager.cc:72: password_protection_service->MaybeStartProtectedPasswordEntryRequest( Could the Record be called from within MaybeStart? ...
3 years, 7 months ago (2017-05-12 22:28:00 UTC) #7
Jialiu Lin
Thanks! https://codereview.chromium.org/2878813002/diff/20001/components/password_manager/core/browser/password_reuse_detection_manager.cc File components/password_manager/core/browser/password_reuse_detection_manager.cc (right): https://codereview.chromium.org/2878813002/diff/20001/components/password_manager/core/browser/password_reuse_detection_manager.cc#newcode72 components/password_manager/core/browser/password_reuse_detection_manager.cc:72: password_protection_service->MaybeStartProtectedPasswordEntryRequest( On 2017/05/12 at 22:27:59, Nathan Parker wrote: ...
3 years, 7 months ago (2017-05-13 00:24:14 UTC) #10
Nathan Parker
cool, LGTM (FYI Vadym was out Fri/Mon)
3 years, 7 months ago (2017-05-15 17:56:46 UTC) #13
dvadym
LGTM
3 years, 7 months ago (2017-05-16 12:01:58 UTC) #18
Jialiu Lin
Thanks dvadym! A quick question for you https://codereview.chromium.org/2878813002/diff/100001/components/password_manager/core/browser/password_reuse_detection_manager.cc File components/password_manager/core/browser/password_reuse_detection_manager.cc (right): https://codereview.chromium.org/2878813002/diff/100001/components/password_manager/core/browser/password_reuse_detection_manager.cc#newcode71 components/password_manager/core/browser/password_reuse_detection_manager.cc:71: password_protection_service->RecordPasswordReuse(main_frame_url_); dvadym@, ...
3 years, 7 months ago (2017-05-16 16:24:27 UTC) #19
dvadym
https://codereview.chromium.org/2878813002/diff/100001/components/password_manager/core/browser/password_reuse_detection_manager.cc File components/password_manager/core/browser/password_reuse_detection_manager.cc (right): https://codereview.chromium.org/2878813002/diff/100001/components/password_manager/core/browser/password_reuse_detection_manager.cc#newcode71 components/password_manager/core/browser/password_reuse_detection_manager.cc:71: password_protection_service->RecordPasswordReuse(main_frame_url_); On 2017/05/16 16:24:27, Jialiu Lin wrote: > dvadym@, ...
3 years, 7 months ago (2017-05-17 16:25:41 UTC) #20
Jialiu Lin
+holte@ for owner review of histograms.xml Thanks!
3 years, 7 months ago (2017-05-17 18:45:44 UTC) #24
Steven Holte
lgtm
3 years, 7 months ago (2017-05-17 23:17:17 UTC) #25
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/2878813002/140001
3 years, 7 months ago (2017-05-17 23:22:12 UTC) #28
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/430009)
3 years, 7 months ago (2017-05-18 04:50:56 UTC) #30
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/2878813002/140001
3 years, 7 months ago (2017-05-18 15:06:42 UTC) #32
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 16:05:13 UTC) #35
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/31a45cd7736a6224fa8f7b6eafc0...

Powered by Google App Engine
This is Rietveld 408576698