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

Issue 2009183002: SafeBrowsing: Implement cache lookup for full hash checks (Closed)

Created:
4 years, 7 months ago by kcarattini
Modified:
4 years, 6 months ago
Reviewers:
Nathan Parker, awoz
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SafeBrowsing: Implement cache lookup for full hash checks BUG=561867, 543161 Committed: https://crrev.com/ddfb2e3842cb671f3cb3dad712f5fe0a1f242f8e Cr-Commit-Position: refs/heads/master@{#397366}

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 18

Patch Set 3 : Review comments #

Patch Set 4 : Review comments #

Total comments: 2

Patch Set 5 : Review Comments #

Patch Set 6 : Typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+319 lines, -43 lines) Patch
M components/safe_browsing_db/database_manager.h View 1 2 3 4 chunks +31 lines, -1 line 0 comments Download
M components/safe_browsing_db/database_manager.cc View 1 2 3 3 chunks +143 lines, -28 lines 0 comments Download
M components/safe_browsing_db/database_manager_unittest.cc View 1 2 3 4 5 5 chunks +142 lines, -14 lines 0 comments Download
M components/safe_browsing_db/util.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (12 generated)
kcarattini
Alex, please review for cache lookup logic. Thanks, Kendra
4 years, 7 months ago (2016-05-25 08:37:12 UTC) #2
Nathan Parker
Some of this is Pver4 specific, and some is pver4-api-check specific. We should name them ...
4 years, 7 months ago (2016-05-26 22:30:55 UTC) #3
awoz
Caching logic LGTM https://codereview.chromium.org/2009183002/diff/20001/components/safe_browsing_db/database_manager.cc File components/safe_browsing_db/database_manager.cc (right): https://codereview.chromium.org/2009183002/diff/20001/components/safe_browsing_db/database_manager.cc#newcode103 components/safe_browsing_db/database_manager.cc:103: std::vector<SBPrefix> prefixes; On 2016/05/26 22:30:55, Nathan ...
4 years, 6 months ago (2016-05-27 16:54:36 UTC) #4
kcarattini
message: On 2016/05/26 22:30:55, Nathan Parker wrote: > Some of this is Pver4 specific, and ...
4 years, 6 months ago (2016-05-30 05:22:51 UTC) #5
awoz
On 2016/05/30 05:22:51, kcarattini wrote: > message: On 2016/05/26 22:30:55, Nathan Parker wrote: > > ...
4 years, 6 months ago (2016-05-31 15:23:50 UTC) #6
Nathan Parker
> > > Kendra: What happens if there are different threat types requested at > ...
4 years, 6 months ago (2016-05-31 20:41:57 UTC) #7
kcarattini
On 2016/05/31 20:41:57, Nathan Parker wrote: > > > > Kendra: What happens if there ...
4 years, 6 months ago (2016-06-01 10:26:52 UTC) #8
Nathan Parker
lgtm Can you file a bug to remember about moving the caching out of database ...
4 years, 6 months ago (2016-06-01 17:56:01 UTC) #9
kcarattini
Bug Filed: https://bugs.chromium.org/p/chromium/issues/detail?id=616647 Thanks! https://codereview.chromium.org/2009183002/diff/60001/components/safe_browsing_db/database_manager_unittest.cc File components/safe_browsing_db/database_manager_unittest.cc (right): https://codereview.chromium.org/2009183002/diff/60001/components/safe_browsing_db/database_manager_unittest.cc#newcode65 components/safe_browsing_db/database_manager_unittest.cc:65: base::TimeDelta::FromMinutes(negative_cache_duration_mins) : now; On 2016/06/01 ...
4 years, 6 months ago (2016-06-02 01:43:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009183002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2009183002/100001
4 years, 6 months ago (2016-06-02 01:45:28 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/120763)
4 years, 6 months ago (2016-06-02 02:12:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009183002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2009183002/100001
4 years, 6 months ago (2016-06-02 03:17:40 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/237555)
4 years, 6 months ago (2016-06-02 03:30:44 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009183002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2009183002/100001
4 years, 6 months ago (2016-06-02 04:00:39 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/179577)
4 years, 6 months ago (2016-06-02 04:15:19 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009183002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2009183002/100001
4 years, 6 months ago (2016-06-02 10:28:05 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-02 11:30:44 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 11:32:20 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ddfb2e3842cb671f3cb3dad712f5fe0a1f242f8e
Cr-Commit-Position: refs/heads/master@{#397366}

Powered by Google App Engine
This is Rietveld 408576698