Clarify the actions performed when a child process is shutdown
commit03954db1ecdff7376fe3c9afa6131bda0768d028
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 07:03:50 +0000 (16 07:03 +0000)
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 07:03:50 +0000 (16 07:03 +0000)
tree2b5719dc1d860714514b1f1d702a74374a2099d6
parentf76c6c3cf6e8a3bef5067ad92d2fff89d83eebc4
Clarify the actions performed when a child process is shutdown

Call io_thread_.Stop() explicitly in ChildThread::~ChiildThrea() to
clarify that io thread outlives ChildThread object.

Also added comments to the header file to clarify the behavior.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264142 0039d316-1c4b-4281-b951-d872f2087c98
content/child/child_process.cc
content/child/child_process.h