diff options
author | yhirano@chromium.org <yhirano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-19 13:09:29 +0000 |
---|---|---|
committer | yhirano@chromium.org <yhirano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-19 13:09:29 +0000 |
commit | 85f50ec0ad933ff17c19ef33e70b38141e0bcb1a (patch) | |
tree | 03783aeb107832a71209ad805664f9124e66fa8f /ui/base/clipboard/clipboard_aurax11.cc | |
parent | 888667dad66d12239d1fde896721114ea2406802 (diff) | |
download | chromium_src-85f50ec0ad933ff17c19ef33e70b38141e0bcb1a.zip chromium_src-85f50ec0ad933ff17c19ef33e70b38141e0bcb1a.tar.gz chromium_src-85f50ec0ad933ff17c19ef33e70b38141e0bcb1a.tar.bz2 |
Add SocketStreamDispatcherHost::Shutdown and call it when a worker process is being destroyed.
SocketStreamDispatcherHost attached to a worker process should be notified that
the process will be down, before the profile it refers is destroyed.
This CL depends on the current WorkerProcessHost implementation that never add a WorkerInstance
to a WorkerProcessHost once it is created.
SocketStreamHost calls SocketStreamJob::set_context(NULL) which cancels the job.
Since SocketStreamHost::socket_ can be NULL, a NULL pointer guard is added there.
BUG=244746
Review URL: https://chromiumcodereview.appspot.com/16034010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/clipboard/clipboard_aurax11.cc')
0 files changed, 0 insertions, 0 deletions