| Index: chrome/browser/safe_browsing/protocol_parser.cc
|
| diff --git a/chrome/browser/safe_browsing/protocol_parser.cc b/chrome/browser/safe_browsing/protocol_parser.cc
|
| index c6edf116dffa596233a38555a666322e18d03210..f8ab1aa75e9dc10c77f9112c0146c23e2e9e4e20 100644
|
| --- a/chrome/browser/safe_browsing/protocol_parser.cc
|
| +++ b/chrome/browser/safe_browsing/protocol_parser.cc
|
| @@ -335,8 +335,9 @@ bool SafeBrowsingProtocolParser::ParseAddChunk(const std::string& list_name,
|
| SBEntry::Type type = hash_len == sizeof(SBPrefix) ?
|
| SBEntry::ADD_PREFIX : SBEntry::ADD_FULL_HASH;
|
|
|
| - if (list_name == safe_browsing_util::kBinHashList) {
|
| - // kBinHashList only contains prefixes, no HOSTKEY and COUNT.
|
| + if (list_name == safe_browsing_util::kBinHashList ||
|
| + list_name == safe_browsing_util::kDownloadWhiteList) {
|
| + // These lists only contain prefixes, no HOSTKEY and COUNT.
|
| DCHECK_EQ(0, remaining % hash_len);
|
| prefix_count = remaining / hash_len;
|
| SBChunkHost chunk_host;
|
|
|