DescriptionThis patch is to implement. storage.onAvailableCapacityChanged event.
Current implementation adopts polling-based method to check the
free space change periodically at one second time interval.
Once a listener is attached to the onAvailableCapacityChanged event,
all storages are being watched, and the event will be emitted as soon
as the free space changes. The watching will be stopped when the
last event listener is removed.
BUG=163862
TEST=browser_tests --gtest_filter=SystemInfoStorageApiTest.Storage
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180626
Patch Set 1 : #
Total comments: 8
Patch Set 2 : #Patch Set 3 : rebase #Patch Set 4 : fix compile error #
Total comments: 10
Patch Set 5 : update #Patch Set 6 : Add a stub file to pass building on Android #
Total comments: 2
Messages
Total messages: 14 (0 generated)
|