DescriptionOnly call UrlToFullHashes once from LocalSafeBrowsingDatabaseManager::CheckBrowseUrl
Add ContainsBrowseHashes and ContainsUnwantedSoftwareHashes to
SafeBrowsingDatabase, to parallel ContainsBrowseUrl and
ContainsUnwantedSoftwareUrl. These functions take the full hash set instead of
the url, so that the caller can look up both "browse" and "unwanted software"
data for the same url without incurring the overhead of calling UrlToFullHashes
twice.
BUG=576750
Committed: https://crrev.com/1fbfd5fca8cc6270032b3c8ea9d1df6402af4e8c
Cr-Commit-Position: refs/heads/master@{#369755}
Patch Set 1 #Patch Set 2 : Fix param name #
Total comments: 2
Patch Set 3 : Add the new methods to TestSafeBrowsingDatabase #Patch Set 4 : Rebase #
Messages
Total messages: 22 (8 generated)
|