DescriptionUse QuitTask instead of Quit() to signal request completion.
This allows for cases where the request complete callback is invoked outside a message loop,
for e.g. in TestPostChunkedDataAfterStart(). Quit() can only be invoked inside a message
loop whereas posting a QuitTask to the message loop can be done from anywhere.
BUG=none
TEST=TestPostChunkedDataAfterStart passes through the tsan bots and net_unittests in general runs fine.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72493
Patch Set 1 #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|