Instrument to catch corruption constructing safe-browsing filters.

Prior instrumentation provided some evidence that memory corruption
was causing inconsistencies between PrefixSet and BloomFilter results.
This CL attempts to detect three types of memory corruption:
 - internal to the PrefixSet data structure.
 - internal to the BloomFilter data structure.
 - the input data used to construct either.

BUG=71832
TEST=none


Review URL: https://chromiumcodereview.appspot.com/10834045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150403 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed