DescriptionPepper quota fix: fire callbacks asynchronously to avoid crash in write callback chain.
The older code could screw up pending_operations_ in QuotaFileIO when another Write is issued in WriteCallback. This patch is to fix the issue by always firing callbacks asynchronously.
BUG=86556
TEST=test_shell_tests:QuotaFileIOTest.*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96154
Patch Set 1 #Patch Set 2 : '' #
Total comments: 3
Patch Set 3 : using 2 queues #Patch Set 4 : '' #
Total comments: 2
Patch Set 5 : removed 'protected' #Messages
Total messages: 6 (0 generated)
|