diff options
author | battre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 00:39:16 +0000 |
---|---|---|
committer | battre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 00:39:16 +0000 |
commit | 28ede910f61ad0799386513099896a4533267d7b (patch) | |
tree | 3c60b748a62ae301c4d70ba3c45a926c188f636c /base/message_loop_proxy_impl.h | |
parent | 99672120089a033b9308b1a2035fce8a0e6a1a37 (diff) | |
download | chromium_src-28ede910f61ad0799386513099896a4533267d7b.zip chromium_src-28ede910f61ad0799386513099896a4533267d7b.tar.gz chromium_src-28ede910f61ad0799386513099896a4533267d7b.tar.bz2 |
Prevent callbacks after URLRequest/URLRequestJob have been canceled/completed/killed.
With this CL, URLRequestJobs notify their NetworkDelegate when they are being destroyed to insure that the NetworkDelegate does not access any of their variables or call callbacks.
Also the WebRequest API does not execute any callbacks if they URLRequest has informed the API that the Request has been completed or canceled.
Both cases could happen in rare race conditions.
BUG=108968
TEST=no
Review URL: http://codereview.chromium.org/9147018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop_proxy_impl.h')
0 files changed, 0 insertions, 0 deletions