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

Issue 266793002: [safe browsing] Serialize full hashes with prefix set. (Closed)

Created:
6 years, 7 months ago by Scott Hess - ex-Googler
Modified:
6 years, 7 months ago
Reviewers:
mattm
CC:
chromium-reviews
Visibility:
Public.

Description

[safe browsing] Serialize full hashes with prefix set. Persists the entire in-memory representation of the database so that SBDatabase::ContainsBrowseUrl() will return the same prefix hits after startup as after the last update. BUG=172527 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268145

Patch Set 1 #

Patch Set 2 : Add a v3 golden test. #

Total comments: 4

Patch Set 3 : rely on binary from r267931 (also reviewer nits) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -22 lines) Patch
M chrome/browser/safe_browsing/prefix_set.h View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/prefix_set.cc View 1 2 10 chunks +94 lines, -18 lines 0 comments Download
M chrome/browser/safe_browsing/prefix_set_unittest.cc View 1 4 chunks +73 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Scott Hess - ex-Googler
Add a v3 golden test.
6 years, 7 months ago (2014-05-01 21:49:05 UTC) #1
Scott Hess - ex-Googler
6 years, 7 months ago (2014-05-01 21:49:25 UTC) #2
mattm
lgtm with nits https://codereview.chromium.org/266793002/diff/20001/chrome/browser/safe_browsing/prefix_set.cc File chrome/browser/safe_browsing/prefix_set.cc (right): https://codereview.chromium.org/266793002/diff/20001/chrome/browser/safe_browsing/prefix_set.cc#newcode305 chrome/browser/safe_browsing/prefix_set.cc:305: // Steals contents of |index| and ...
6 years, 7 months ago (2014-05-01 22:26:51 UTC) #3
Scott Hess - ex-Googler
rely on binary from r267931
6 years, 7 months ago (2014-05-02 22:32:27 UTC) #4
Scott Hess - ex-Googler
OK, seems to work with binary inline. I should just give up on tries with ...
6 years, 7 months ago (2014-05-05 03:47:06 UTC) #5
Scott Hess - ex-Googler
The CQ bit was checked by shess@chromium.org
6 years, 7 months ago (2014-05-05 03:47:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/266793002/40001
6 years, 7 months ago (2014-05-05 03:47:15 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-05 06:19:46 UTC) #8
Message was sent while issue was closed.
Change committed as 268145

Powered by Google App Engine
This is Rietveld 408576698