DescriptionDelete UDPClientSocket on same thread as creation. Also refactor.
I investigated deriving from IOThreadExtensionFunction, but we need access to Profile in the midst of our work. Deriving from UIThreadExtensionFunction appears to be the right way to do that. It's possible that we'll want to address performance issues caused by jumping back and forth between threads, but for now this seems to work well enough.
See http://code.google.com/p/chromium/issues/detail?id=106802 for future plans to deal with lifetime more elegantly.
Also reapply http://codereview.chromium.org/8819029/, which is what led to this bug/fix.
BUG=106656
TEST=no new ones; just refactoring.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113710
Patch Set 1 : Initial. #
Total comments: 5
Patch Set 2 : aa-inspired deltas. #
Total comments: 2
Patch Set 3 : Use DeleteTask<>(). #Patch Set 4 : Changes suggested by trybots. #Patch Set 5 : Merge to fix hunk failure. #Messages
Total messages: 13 (0 generated)
|