DescriptionAdd the ability for objects which derive from RefCountedThreadSafe to specify a destructor trait. This allows browser objects to specify which thread they're terminated on. The benefit is we avoid the need to do manual ref counting when an object posts tasks to itself on different threads, if an object must be destructed on a specific thread.
This patch adds initial support and only shows one example with ResourceMessageFilter. I will do the rest in a follow-up patch to keep things small.
BUG=25354
TEST=added unit tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30688
Patch Set 1 : '' #Patch Set 2 : '' #Patch Set 3 : Make IPC::ChannelProxy::MessageFilter not ref counted #Patch Set 4 : Make MessageFilter be ref counted again #
Total comments: 5
Patch Set 5 : '' #Patch Set 6 : '' #
Messages
Total messages: 3 (0 generated)
|