DescriptionSupport origin-based deletion for password store statistics
We iterate over the rows of the SQL DB to find entries matching the origin
filter. Then, we issue a cached DELETE statement for each of the entries.
It would also be possible to issue one "DELETE .. IN (?,?,?)" statement for all
matched origins, however, this requires us to generate the statement runtime
to add the correct number of "?". This is more complex and probably doesn't
bring a performance gain in practice.
BUG=589586
Committed: https://crrev.com/9acfdb3cd901f3aec451ba3aa5305a2cc2266739
Cr-Commit-Position: refs/heads/master@{#417262}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressed comments, fix the test. #Patch Set 3 : Mac-specific code #Messages
Total messages: 27 (18 generated)
|