Chromium Code Reviews| Index: chrome/browser/safe_browsing/safe_browsing_database.cc |
| diff --git a/chrome/browser/safe_browsing/safe_browsing_database.cc b/chrome/browser/safe_browsing/safe_browsing_database.cc |
| index 6721f10cd508caafb2efc9d108de85c1912267b9..ea02ff6bfbca8e89be5fed149c6606bb1a5e9cbb 100644 |
| --- a/chrome/browser/safe_browsing/safe_browsing_database.cc |
| +++ b/chrome/browser/safe_browsing/safe_browsing_database.cc |
| @@ -1069,6 +1069,14 @@ bool SafeBrowsingDatabaseNew::UpdateStarted( |
| download_listnames.push_back(safe_browsing_util::kBinUrlList); |
| download_listnames.push_back(safe_browsing_util::kBinHashList); |
|
Scott Hess - ex-Googler
2012/01/07 02:27:56
Can you just drop the above line? The csd case be
mattm
2012/01/07 03:18:12
If we remove that, GetChunkRanges fails because it
|
| UpdateChunkRanges(download_store_.get(), download_listnames, lists); |
| + DCHECK_EQ(lists->back().name, |
| + std::string(safe_browsing_util::kBinHashList)); |
| + // Remove kBinHashList entry so that we do not request updates for it from |
| + // the server. The existing data will still be retained by |
| + // SafeBrowsingStoreFile::DoUpdate. |
| + // TODO(mattm): write some code to remove the kBinHashList data from the |
| + // file? |
| + lists->pop_back(); |
| } |
| if (csd_whitelist_store_.get()) { |