DescriptionIntroduce the PlatformNotificationContext class.
This class provides an interface, to be used on the IO thread, on top
of the NotificationDatabase class. It abstracts away the thread
requirements of the database class and is responsible for managing the
status and the lifetime of the database.
Right now it's only used in unit tests, but it will eventually live as
a member of StoragePartitionImpl, and will be used by the notification
message filter.
Design document:
http://goo.gl/TciXVp
BUG=447628
Committed: https://crrev.com/8f7612681b0b45c99010e90d5a0b7c1d80d9de8d
Cr-Commit-Position: refs/heads/master@{#320781}
Patch Set 1 #
Total comments: 13
Patch Set 2 : address comments #Patch Set 3 : fix a typo in the test #
Total comments: 2
Patch Set 4 : #
Total comments: 2
Patch Set 5 : #
Total comments: 10
Patch Set 6 : y #
Messages
Total messages: 17 (4 generated)
|