DescriptionMake SafeBrowsingDatabase's PrefixSets only updatable by swapping a new one in.
This is done by turning scoped_ptr<PrefixSet> into scoped_ptr<const PrefixSet>.
While this doesn't fully address the issue of making sure there are no
updates on other threads it does help any readers trying to prove this
for themselves.
BUG=None
Committed: https://crrev.com/2298fc812850dd04509a4cd9e67ed9243952625f
Cr-Commit-Position: refs/heads/master@{#307051}
Patch Set 1 #
Total comments: 4
Patch Set 2 : rebase on patch 2 of CL 744183002 #Patch Set 3 : review:mattm #Patch Set 4 : rebase off of CL 744183002 #
Messages
Total messages: 10 (2 generated)
|