DescriptionAdded a ResourceMessageFilter for handling resource messages on another thread.
ResourceHosts make it difficult to handle messages on background threads. This adds a ResourceMessageFilter class which can be subclassed to easily handle resource messages on another thread. It should be added to a ResourceHost using |AddFilter|.
BUG=None
TEST=Added a unittest
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168729
Patch Set 1 #Patch Set 2 : #Patch Set 3 : . #
Total comments: 8
Patch Set 4 : . #Patch Set 5 : . #Patch Set 6 : . #Patch Set 7 : . #Patch Set 8 : . #
Total comments: 4
Patch Set 9 : . #
Total comments: 4
Patch Set 10 : . #Patch Set 11 : . #Patch Set 12 : #Patch Set 13 : . #
Total comments: 14
Patch Set 14 : . #
Total comments: 2
Patch Set 15 : . #
Messages
Total messages: 13 (0 generated)
|