DescriptionMake Service Worker DB UserData methods accept multiple keys at once
Primary benefit: it's now possible to read/write multiple keys at once
transactionally. This will be used in
https://codereview.chromium.org/1944863002 to fix the way
PushMessagingMessageFilter stores the sender ID and subscription ID.
Secondary benefit: this occasionally reduces the number of async hops,
for example in PushMessagingMessageFilter::UnsubscribeHavingGottenIds.
Since Chrome now supports initializer lists, it doesn't add much
code complexity when it isn't necessary (and hence it didn't seem
worth duplicating all these methods).
BUG=608831
Committed: https://crrev.com/fa6acac911373fd2e0f56a8a5f9652a7cc21b53e
Cr-Commit-Position: refs/heads/master@{#392045}
Patch Set 1 #
Total comments: 16
Patch Set 2 : Address review comments #Patch Set 3 : Rebase #Dependent Patchsets: Messages
Total messages: 20 (10 generated)
|