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

Issue 2201213007: Skip cert whitelist checking if download URL matches whitelist and sampled (Closed)

Created:
4 years, 4 months ago by Jialiu Lin
Modified:
4 years, 4 months ago
Reviewers:
Nathan Parker
CC:
chromium-reviews, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip certificate whitelist checking if download URL already matches whitelist and gets sampled. This will speed up the whitelisting checking process for some downloads, and would potentially slightly increase the number of whitelisted ping we get. BUG=631550 Committed: https://crrev.com/389ba5efb8a7659573f1c72095c4eb23275612ed Cr-Commit-Position: refs/heads/master@{#410133}

Patch Set 1 #

Total comments: 1

Patch Set 2 : nit #

Total comments: 2

Patch Set 3 : line > 80 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -18 lines) Patch
M chrome/browser/safe_browsing/download_protection_service.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service_unittest.cc View 1 2 6 chunks +79 lines, -15 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Jialiu Lin
Hi nparker@, I made a small change to the current whitelist sampling code. Basically if ...
4 years, 4 months ago (2016-08-04 18:16:40 UTC) #5
Nathan Parker
lgtm https://codereview.chromium.org/2201213007/diff/40001/chrome/browser/safe_browsing/download_protection_service_unittest.cc File chrome/browser/safe_browsing/download_protection_service_unittest.cc (right): https://codereview.chromium.org/2201213007/diff/40001/chrome/browser/safe_browsing/download_protection_service_unittest.cc#newcode882 chrome/browser/safe_browsing/download_protection_service_unittest.cc:882: MatchDownloadWhitelistUrl(GURL("http://www.whitelist.com/a.exe"))) nit: > 80 char line? Below as ...
4 years, 4 months ago (2016-08-05 17:27:10 UTC) #8
Jialiu Lin
Thanks! https://codereview.chromium.org/2201213007/diff/40001/chrome/browser/safe_browsing/download_protection_service_unittest.cc File chrome/browser/safe_browsing/download_protection_service_unittest.cc (right): https://codereview.chromium.org/2201213007/diff/40001/chrome/browser/safe_browsing/download_protection_service_unittest.cc#newcode882 chrome/browser/safe_browsing/download_protection_service_unittest.cc:882: MatchDownloadWhitelistUrl(GURL("http://www.whitelist.com/a.exe"))) On 2016/08/05 at 17:27:10, Nathan Parker wrote: ...
4 years, 4 months ago (2016-08-05 17:32:25 UTC) #9
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/2201213007/60001
4 years, 4 months ago (2016-08-05 18:30:40 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 4 months ago (2016-08-05 19:15:10 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 19:16:34 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/389ba5efb8a7659573f1c72095c4eb23275612ed
Cr-Commit-Position: refs/heads/master@{#410133}

Powered by Google App Engine
This is Rietveld 408576698