summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_tests.gypi
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-10 21:50:43 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-10 21:50:43 +0000
commitb6cb7cfef7d9500f419163b34fb9035fbebe5ac3 (patch)
treec150a94a3585a62983a8540bd782482808abdc6f /chrome/chrome_tests.gypi
parenta89ca3ca54c3a74ec4e751b99104b5fd96b9e308 (diff)
downloadchromium_src-b6cb7cfef7d9500f419163b34fb9035fbebe5ac3.zip
chromium_src-b6cb7cfef7d9500f419163b34fb9035fbebe5ac3.tar.gz
chromium_src-b6cb7cfef7d9500f419163b34fb9035fbebe5ac3.tar.bz2
PrefixSet as an alternate to BloomFilter for safe-browsing.
The safe-browsing prefix data is uniformly distributed across the 32-bit integer space. When sorted, the average delta between items is about 8,000, which can be encoded in a 16-bit integer. PrefixSet takes advantage of this to compress the prefixes into a structure which is relatively efficient to query. The current CL adds the new structure, but continues to use the bloom filter to control things. Histograms are logged to track differences in results. BUG=71832 TEST=none Review URL: http://codereview.chromium.org/6286072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74487 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r--chrome/chrome_tests.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index e99c6fd..48c2383 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -1390,6 +1390,7 @@
'browser/safe_browsing/chunk_range_unittest.cc',
'browser/safe_browsing/client_side_detection_service_unittest.cc',
'browser/safe_browsing/malware_details_unittest.cc',
+ 'browser/safe_browsing/prefix_set_unittest.cc',
'browser/safe_browsing/protocol_manager_unittest.cc',
'browser/safe_browsing/protocol_parser_unittest.cc',
'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc',