Chromium Code Reviews
DescriptionImplement host-based deletion for the hostname resolution cache.
To be used by BrowsingDataRemover when the user chooses to delete data
for a particular site.
This is implemented as a new method HostCache::ClearForHosts() as opposed
to extending the existing HostCache::clear(), as clear() has a lot
of callsites and thus it seems to be useful to keep this more specific
version.
On the other hand, the fact that there are many callsites of clear()
also means that in many cases it's acceptable to clear the entire cache
even if clearing less would be sufficient. In that sense, this CL might
be unnecessary and it might be acceptable for BrowsingDataRemover to also
clear the entire cache even if the user only needs to delete data for one
site.
TBR=achuith@chromium.org
BUG=589586
Committed: https://crrev.com/94f5656c8278b8a8080f465a97465799b9fd5f7e
Cr-Commit-Position: refs/heads/master@{#415664}
Patch Set 1 #Patch Set 2 : Updated callsite. #
Total comments: 2
Patch Set 3 : Take TimeTicks::Now() out of the loop #
Messages
Total messages: 27 (18 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||