Chromium Code Reviews
DescriptionThe notification database should be able to read or delete multiple items.
This adds five methods to the NotificationDatabase class to read or delete
multiple notifications, which share two actual implementations.
They will be used as follows:
- Read all data: browsing data overviews.
- Read all data for an origin: for origin storage overviews, quota
client integration (storageQuota.queryInfo()).
- Read all data for a SWR id: to get all notifications associated
with a given SWR (SWR.getNotifications()).
- Delete all data for an origin: clearing browsing data for a
given origin.
- Delete all data for a SWR id: to remove notifications when a service
worker registration gets dropped.
Actual integration with these features will be done in separate patches,
this patch just introduces the primitives in the database.
Design document:
http://goo.gl/TciXVp
BUG=447628
Committed: https://crrev.com/adb2fe2adbb7bb502cad486ef8b1a2d9f2122198
Cr-Commit-Position: refs/heads/master@{#321399}
Patch Set 1 #
Total comments: 20
Patch Set 2 : improve tests #Patch Set 3 : #
Total comments: 4
Patch Set 4 : #
Messages
Total messages: 13 (4 generated)
|
|||||||||||||||||||||||||||||||||||||