net: Make sure the FileStream file is closed on the worker thread.

When a FileStream is deleted while Open is in progress, the file was being
closed on the wrong thread because it was not being transferred to the
FileStream::Context.

This CL transfers the file to the context even if it is orphaned.

BUG=322664
TEST=net_unittests

Review URL: https://codereview.chromium.org/250783002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267977 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed