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

Issue 2870193002: Clean up expired verdicts at shutdown (Closed)

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

Description

Clean up expired verdicts when PasswordProtectionService is being destructed (typically, that's during browser shutdown). BUG=719002 Review-Url: https://codereview.chromium.org/2870193002 Cr-Commit-Position: refs/heads/master@{#471000} Committed: https://chromium.googlesource.com/chromium/src/+/51e211250511fe271acddb55983d50f48bca0386

Patch Set 1 #

Patch Set 2 : refine tests #

Patch Set 3 : nit #

Total comments: 2

Patch Set 4 : nit #

Patch Set 5 : resolve container-overflow #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -2 lines) Patch
M chrome/browser/safe_browsing/chrome_password_protection_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing/password_protection/password_protection_service.h View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M components/safe_browsing/password_protection/password_protection_service.cc View 1 2 3 4 1 chunk +56 lines, -0 lines 0 comments Download
M components/safe_browsing/password_protection/password_protection_service_unittest.cc View 1 3 chunks +41 lines, -1 line 0 comments Download

Messages

Total messages: 31 (26 generated)
Jialiu Lin
Hi lpz@, This CL removes all the expired cached verdicts when PasswordProtectionService is shutting down. ...
3 years, 7 months ago (2017-05-10 00:44:22 UTC) #12
lpz
lgtm https://codereview.chromium.org/2870193002/diff/40001/components/safe_browsing/password_protection/password_protection_service.cc File components/safe_browsing/password_protection/password_protection_service.cc (right): https://codereview.chromium.org/2870193002/diff/40001/components/safe_browsing/password_protection/password_protection_service.cc#newcode227 components/safe_browsing/password_protection/password_protection_service.cc:227: it.key(), &verdict_entry)); nit: align?
3 years, 7 months ago (2017-05-10 14:03:54 UTC) #16
Jialiu Lin
Thanks for your quick review! It seems "git cl format" has a very special aesthetic ...
3 years, 7 months ago (2017-05-10 22:26:32 UTC) #23
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/2870193002/80001
3 years, 7 months ago (2017-05-11 17:28:41 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 17:37:33 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/51e211250511fe271acddb55983d...

Powered by Google App Engine
This is Rietveld 408576698