Fix thread usage in chromoting host
There are several things done in this patch: 1. Isloate thread start and stop to ChromotingHostContext 2. SessionManager now doesn't own capturer and encoder, ownership moved to ChromotingHost 3. Fix up the sequence of actions when ChromotingHost shuts down TEST=remoting_unittests BUG=none Review URL: http://codereview.chromium.org/2829018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51050 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- remoting/host/chromoting_host.cc 111 additions, 100 deletionsremoting/host/chromoting_host.cc
- remoting/host/chromoting_host.h 38 additions, 29 deletionsremoting/host/chromoting_host.h
- remoting/host/chromoting_host_context.cc 56 additions, 0 deletionsremoting/host/chromoting_host_context.cc
- remoting/host/chromoting_host_context.h 51 additions, 0 deletionsremoting/host/chromoting_host_context.h
- remoting/host/chromoting_host_context_unittest.cc 28 additions, 0 deletionsremoting/host/chromoting_host_context_unittest.cc
- remoting/host/client_connection.cc 21 additions, 6 deletionsremoting/host/client_connection.cc
- remoting/host/client_connection.h 4 additions, 1 deletionremoting/host/client_connection.h
- remoting/host/client_connection_unittest.cc 27 additions, 4 deletionsremoting/host/client_connection_unittest.cc
- remoting/host/encoder_verbatim.cc 2 additions, 1 deletionremoting/host/encoder_verbatim.cc
- remoting/host/session_manager.cc 37 additions, 16 deletionsremoting/host/session_manager.cc
- remoting/host/session_manager.h 9 additions, 1 deletionremoting/host/session_manager.h
- remoting/host/simple_host_process.cc 21 additions, 6 deletionsremoting/host/simple_host_process.cc
- remoting/remoting.gyp 3 additions, 0 deletionsremoting/remoting.gyp
remoting/host/chromoting_host_context.cc
0 → 100644
remoting/host/chromoting_host_context.h
0 → 100644
Please register or sign in to comment