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

Issue 2490753002: Ignore ThreatMatch responses for lists that we don't care about. (Closed)

Created:
4 years, 1 month ago by vakh (use Gerrit instead)
Modified:
4 years, 1 month ago
CC:
chromium-reviews, vakh+watch_chromium.org, woz
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore ThreatMatch responses for lists that we don't care about. Due to aliasing used on the server side, the server may send ThreatMatch response for lists that we don't track. For instance, ThreatMatch with platform_type as CHROME on Linux. Ignore such ThreatMatch responses. BUG=663247 Committed: https://crrev.com/bfcde5d0640845a210555226cd7de95cb5bb63b4 Cr-Commit-Position: refs/heads/master@{#431131}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use a set to order platform_types etc to ensure order across platforms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -11 lines) Patch
M components/safe_browsing_db/v4_get_hash_protocol_manager.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager.cc View 1 3 chunks +20 lines, -3 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc View 1 4 chunks +24 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
vakh (use Gerrit instead)
4 years, 1 month ago (2016-11-08 22:35:33 UTC) #3
Nathan Parker
lgtm https://codereview.chromium.org/2490753002/diff/1/components/safe_browsing_db/v4_get_hash_protocol_manager.cc File components/safe_browsing_db/v4_get_hash_protocol_manager.cc (right): https://codereview.chromium.org/2490753002/diff/1/components/safe_browsing_db/v4_get_hash_protocol_manager.cc#newcode530 components/safe_browsing_db/v4_get_hash_protocol_manager.cc:530: const PlatformType& platform_type = match.platform_type(); Nit: these temporaries ...
4 years, 1 month ago (2016-11-08 23:50:11 UTC) #7
Scott Hess - ex-Googler
lgtm. Agree with Nathan's point about just using the list_id.
4 years, 1 month ago (2016-11-09 00:55:36 UTC) #8
vakh (use Gerrit instead)
nparker+shess review
4 years, 1 month ago (2016-11-10 00:02:15 UTC) #9
vakh (use Gerrit instead)
Use a set to order platform_types etc to ensure order across platforms
4 years, 1 month ago (2016-11-10 01:02:17 UTC) #15
vakh (use Gerrit instead)
https://codereview.chromium.org/2490753002/diff/1/components/safe_browsing_db/v4_get_hash_protocol_manager.cc File components/safe_browsing_db/v4_get_hash_protocol_manager.cc (right): https://codereview.chromium.org/2490753002/diff/1/components/safe_browsing_db/v4_get_hash_protocol_manager.cc#newcode530 components/safe_browsing_db/v4_get_hash_protocol_manager.cc:530: const PlatformType& platform_type = match.platform_type(); On 2016/11/08 23:50:11, Nathan ...
4 years, 1 month ago (2016-11-10 01:05:56 UTC) #19
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/2490753002/60001
4 years, 1 month ago (2016-11-10 01:06:43 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 1 month ago (2016-11-10 01:45:44 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 01:51:42 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bfcde5d0640845a210555226cd7de95cb5bb63b4
Cr-Commit-Position: refs/heads/master@{#431131}

Powered by Google App Engine
This is Rietveld 408576698