diff options
author | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-25 16:01:40 +0000 |
---|---|---|
committer | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-25 16:01:40 +0000 |
commit | bea5da03c45dd6f9af65096203279ee3f51260af (patch) | |
tree | 6ca17200a2f9246a92468b3bf12bf8911766f030 /.gitignore | |
parent | a2fedb1e1311bc6acffabebc03e8dbca761b385e (diff) | |
download | chromium_src-bea5da03c45dd6f9af65096203279ee3f51260af.zip chromium_src-bea5da03c45dd6f9af65096203279ee3f51260af.tar.gz chromium_src-bea5da03c45dd6f9af65096203279ee3f51260af.tar.bz2 |
Use 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.
Review URL: http://codereview.chromium.org/6329019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions