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

Issue 1556613002: Adds SB V4 response handler to Protocol Manager. (Closed)

Created:
4 years, 11 months ago by kcarattini
Modified:
4 years, 11 months ago
CC:
chromium-reviews, grt+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@osb-pm-1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds SB V4 response handler to Protocol Manager. BUG=561867 Committed: https://crrev.com/71d77cc8bfef35760a57c6644105ffe444c162fd Cr-Commit-Position: refs/heads/master@{#369067}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Review Comments #

Total comments: 3

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Total comments: 18

Patch Set 5 : Review Comments #

Patch Set 6 : Fix test #

Total comments: 2

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -7 lines) Patch
M chrome/browser/safe_browsing/protocol_manager.h View 1 2 3 chunks +20 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/protocol_manager.cc View 1 2 3 4 5 6 6 chunks +96 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/protocol_manager_unittest.cc View 1 2 3 4 5 1 chunk +124 lines, -1 line 0 comments Download
M components/safe_browsing_db/util.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (4 generated)
kcarattini
4 years, 11 months ago (2015-12-30 02:18:37 UTC) #2
awoz
https://codereview.chromium.org/1556613002/diff/1/chrome/browser/safe_browsing/protocol_manager.cc File chrome/browser/safe_browsing/protocol_manager.cc (right): https://codereview.chromium.org/1556613002/diff/1/chrome/browser/safe_browsing/protocol_manager.cc#newcode286 chrome/browser/safe_browsing/protocol_manager.cc:286: match.platform_type() == CHROME_PLATFORM && If you're making this generic, ...
4 years, 11 months ago (2015-12-30 18:23:13 UTC) #3
kcarattini
Thanks for the review, PTAL! Kendra https://codereview.chromium.org/1556613002/diff/1/chrome/browser/safe_browsing/protocol_manager.cc File chrome/browser/safe_browsing/protocol_manager.cc (right): https://codereview.chromium.org/1556613002/diff/1/chrome/browser/safe_browsing/protocol_manager.cc#newcode286 chrome/browser/safe_browsing/protocol_manager.cc:286: match.platform_type() == CHROME_PLATFORM ...
4 years, 11 months ago (2016-01-04 00:52:01 UTC) #4
awoz
https://codereview.chromium.org/1556613002/diff/20001/chrome/browser/safe_browsing/protocol_manager.cc File chrome/browser/safe_browsing/protocol_manager.cc (right): https://codereview.chromium.org/1556613002/diff/20001/chrome/browser/safe_browsing/protocol_manager.cc#newcode292 chrome/browser/safe_browsing/protocol_manager.cc:292: result.hash = StringToSBFullHash(match.threat().hash()); Should the threat type also be ...
4 years, 11 months ago (2016-01-05 17:20:10 UTC) #5
kcarattini
Nathan, Varun, do you think it is necessary to include multiple threat types per request? ...
4 years, 11 months ago (2016-01-06 00:16:42 UTC) #6
Nathan Parker
lgtm Mostly nits, except the erase(v4_it). LGTM once that's all done. As for multiple threat ...
4 years, 11 months ago (2016-01-11 23:50:32 UTC) #7
kcarattini
Thanks for your review! I will leave the multiple threats per request stuff out of ...
4 years, 11 months ago (2016-01-12 00:43:34 UTC) #8
awoz
lgtm https://codereview.chromium.org/1556613002/diff/20001/chrome/browser/safe_browsing/protocol_manager.cc File chrome/browser/safe_browsing/protocol_manager.cc (right): https://codereview.chromium.org/1556613002/diff/20001/chrome/browser/safe_browsing/protocol_manager.cc#newcode292 chrome/browser/safe_browsing/protocol_manager.cc:292: result.hash = StringToSBFullHash(match.threat().hash()); On 2016/01/05 17:20:10, awoz wrote: ...
4 years, 11 months ago (2016-01-12 22:55:04 UTC) #9
vakh (old account. dont use)
lgtm https://codereview.chromium.org/1556613002/diff/100001/chrome/browser/safe_browsing/protocol_manager.cc File chrome/browser/safe_browsing/protocol_manager.cc (right): https://codereview.chromium.org/1556613002/diff/100001/chrome/browser/safe_browsing/protocol_manager.cc#newcode352 chrome/browser/safe_browsing/protocol_manager.cc:352: std::vector<PlatformType> platform = {CHROME_PLATFORM}; platforms?
4 years, 11 months ago (2016-01-12 23:09:49 UTC) #10
kcarattini
Thank you both! https://codereview.chromium.org/1556613002/diff/100001/chrome/browser/safe_browsing/protocol_manager.cc File chrome/browser/safe_browsing/protocol_manager.cc (right): https://codereview.chromium.org/1556613002/diff/100001/chrome/browser/safe_browsing/protocol_manager.cc#newcode352 chrome/browser/safe_browsing/protocol_manager.cc:352: std::vector<PlatformType> platform = {CHROME_PLATFORM}; On 2016/01/12 ...
4 years, 11 months ago (2016-01-12 23:59:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1556613002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1556613002/120001
4 years, 11 months ago (2016-01-13 00:12:03 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2016-01-13 01:27:53 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-13 01:28:43 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/71d77cc8bfef35760a57c6644105ffe444c162fd
Cr-Commit-Position: refs/heads/master@{#369067}

Powered by Google App Engine
This is Rietveld 408576698