summaryrefslogtreecommitdiffstats
path: root/WATCHLISTS
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-01 08:56:49 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-01 08:56:49 +0000
commit2504fd251af18ea8d3c10e4db5d3b2b31f6556a7 (patch)
tree261c035a7e8cca90a684aeb56a827e6d88309322 /WATCHLISTS
parentdff9bf6630fde412f380eb2a0b60d95964862c69 (diff)
downloadchromium_src-2504fd251af18ea8d3c10e4db5d3b2b31f6556a7.zip
chromium_src-2504fd251af18ea8d3c10e4db5d3b2b31f6556a7.tar.gz
chromium_src-2504fd251af18ea8d3c10e4db5d3b2b31f6556a7.tar.bz2
[safe-browsing] Database full hash matches like prefix match.
The safe-browsing code incorrectly replicates full-hashes into the prefix set, and treats database full hashes as a form of cached response. Move the database full hashes into PrefixSet in preparation for removing the replication. Treat full-hash matches and prefix matches the same (as matches which may lead to a gethash request). ContainsBrowseUrl() full hash result changed to indicate that it is previously-cached results. Add a unit test that a full hash is persisted by PrefixSet. Right now it succeeds because of the replication of full-hash prefixes into the prefix set. BUG=361248,172527 Review URL: https://codereview.chromium.org/257383006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'WATCHLISTS')
0 files changed, 0 insertions, 0 deletions