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

Issue 835523002: Add support for goog-csdinclusionwhite-sha256 in SafeBrowsingDatabase. (Closed)

Created:
5 years, 11 months ago by gab
Modified:
5 years, 11 months ago
Reviewers:
Mark P, mattm
CC:
chromium-reviews, grt+watch_chromium.org, noƩ
Base URL:
https://chromium.googlesource.com/chromium/src.git@##python_fix
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for goog-csdinclusionwhite-sha256 in SafeBrowsingDatabase. It has the same format as goog-downloadwhite-digest256. Tests have been generalized to cover all whitelists without code duplication using a technique similar to the one used in the BrowseAndUnwantedDatabasesAndPrefixSets test in the same test file. BUG=412468 TBR=mpearson@chromium.org Committed: https://crrev.com/5db59789e1cda0585a8fc9ba44df25b165be4d94 Cr-Commit-Position: refs/heads/master@{#310971}

Patch Set 1 #

Patch Set 2 : fix typo #

Total comments: 10

Patch Set 3 : comment nit #

Patch Set 4 : merge up to r310841 #

Patch Set 5 : fix tests post merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -208 lines) Patch
M chrome/browser/safe_browsing/database_manager.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.h View 1 2 3 9 chunks +22 lines, -19 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.cc View 1 2 3 4 18 chunks +96 lines, -24 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_unittest.cc View 1 2 10 chunks +261 lines, -163 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util.h View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util.cc View 4 chunks +8 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
gab
Noe PTAL. Thanks! Gab
5 years, 11 months ago (2014-12-31 04:03:04 UTC) #4
gab
Hey Matt, was trying to spare you this one but looks like Noe is OOO ...
5 years, 11 months ago (2015-01-07 20:17:09 UTC) #6
mattm
https://codereview.chromium.org/835523002/diff/60001/chrome/browser/safe_browsing/safe_browsing_database.cc File chrome/browser/safe_browsing/safe_browsing_database.cc (right): https://codereview.chromium.org/835523002/diff/60001/chrome/browser/safe_browsing/safe_browsing_database.cc#newcode1725 chrome/browser/safe_browsing/safe_browsing_database.cc:1725: RecordFailure(FAILURE_DATABASE_STORE_DELETE); These don't seem to be sorted anyway, so ...
5 years, 11 months ago (2015-01-08 22:07:27 UTC) #7
gab
Thanks, small patch update, see below for replies to other comments. Cheers, Gab https://codereview.chromium.org/835523002/diff/60001/chrome/browser/safe_browsing/safe_browsing_database.cc File ...
5 years, 11 months ago (2015-01-09 13:51:30 UTC) #8
mattm
lgtm https://codereview.chromium.org/835523002/diff/60001/chrome/browser/safe_browsing/safe_browsing_database.cc File chrome/browser/safe_browsing/safe_browsing_database.cc (right): https://codereview.chromium.org/835523002/diff/60001/chrome/browser/safe_browsing/safe_browsing_database.cc#newcode1725 chrome/browser/safe_browsing/safe_browsing_database.cc:1725: RecordFailure(FAILURE_DATABASE_STORE_DELETE); On 2015/01/09 13:51:29, gab wrote: > On ...
5 years, 11 months ago (2015-01-10 01:10:54 UTC) #9
gab
Thanks! https://codereview.chromium.org/835523002/diff/60001/chrome/browser/safe_browsing/safe_browsing_database.cc File chrome/browser/safe_browsing/safe_browsing_database.cc (right): https://codereview.chromium.org/835523002/diff/60001/chrome/browser/safe_browsing/safe_browsing_database.cc#newcode1725 chrome/browser/safe_browsing/safe_browsing_database.cc:1725: RecordFailure(FAILURE_DATABASE_STORE_DELETE); On 2015/01/10 01:10:54, mattm wrote: > On ...
5 years, 11 months ago (2015-01-10 06:34:13 UTC) #10
gab
TBR: mpearson@ for trivial histograms side-effect for an extra suffix identical to the ones just ...
5 years, 11 months ago (2015-01-10 06:38:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/835523002/120001
5 years, 11 months ago (2015-01-10 06:40:59 UTC) #14
gab
https://codereview.chromium.org/835523002/diff/60001/chrome/browser/safe_browsing/safe_browsing_database.cc File chrome/browser/safe_browsing/safe_browsing_database.cc (right): https://codereview.chromium.org/835523002/diff/60001/chrome/browser/safe_browsing/safe_browsing_database.cc#newcode1725 chrome/browser/safe_browsing/safe_browsing_database.cc:1725: RecordFailure(FAILURE_DATABASE_STORE_DELETE); On 2015/01/10 06:34:12, gab wrote: > On 2015/01/10 ...
5 years, 11 months ago (2015-01-10 06:41:35 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 11 months ago (2015-01-10 07:08:03 UTC) #16
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/5db59789e1cda0585a8fc9ba44df25b165be4d94 Cr-Commit-Position: refs/heads/master@{#310971}
5 years, 11 months ago (2015-01-10 07:09:05 UTC) #17
Mark P
5 years, 11 months ago (2015-01-12 18:37:43 UTC) #18
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698