commit | 545839a1ac275ba9929ad30f2889167e41a3c883 | [log] [tgz] |
---|---|---|
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Aug 19 08:13:01 2011 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 11:43:57 2020 +0900 |
tree | d59960dd32c23852fa84065e8e0c2e4de7af28fa | |
parent | 3b26fdba52deeb8fcd8035afb5e39305a83bb44f [diff] |
Implementation of PostTaskAndReply() in MessageLoopProxy and BrowserThread. This ensures that the request/reply closures are always deleted on the origin thread, or leaked if the task cannot be completed (due to message loop shutdown). BUG=86301 TEST=new unittests Review URL: http://codereview.chromium.org/7210053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97387 0039d316-1c4b-4281-b951-d872f2087c98 CrOS-Libchrome-Original-Commit: c31af70db21e370eee35a677f6fcc62a2963784a