summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host_context.h
Commit message (Collapse)AuthorAgeFilesLines
* This is a monster CL.ajwong@chromium.org2010-10-041-0/+4
| | | | | | | | | | | | | | | | | | | | It started as an attempt to put the decoder onto another thread. However, this became complicated due to multiple object ownership transfers and coupling between the decode layer and the network layer; the decoder's states were highly coupled with how the network packets were processed. This could probably be broken up slightly, but at this point, it's easier to just commit as a whole The refactor includes: 1) Making the decoder interface unaware of "network packet" types. 2) Making the network layer process packets in order. 3) Threading through asynchronous APIs all over the place. 4) Simplifying the rectangle update protocol. 5) Cleaning up object lifetime and ownership semantics between the decode layer and the renderer. As of right now, the Verbatim format is still broken on the encode side because it uses the old protocol. BUG=52883, 57351 TEST=still connects to chromoting_simple_host Review URL: http://codereview.chromium.org/3305001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61402 0039d316-1c4b-4281-b951-d872f2087c98
* More FRIEND_TEST_ALL_PREFIXES.phajdan.jr@chromium.org2010-07-301-2/+2
| | | | | | | | | TEST=none BUG=44549 Review URL: http://codereview.chromium.org/3053024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54388 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the client code for the X11 version.garykac@google.com2010-07-201-6/+6
| | | | | | | | | | | | | Make ChromotingViews responsible for initializing themselves. Move all x11-related code into X11View. Create InputCapturer class manage client input capture. BUG=none TEST=ran Win host + X11 client Review URL: http://codereview.chromium.org/2861047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52973 0039d316-1c4b-4281-b951-d872f2087c98
* Start Chromoting Host Process in Chrome Servicehclam@chromium.org2010-07-011-0/+2
| | | | | | | | | | | | Enable chromoting host process if chrome is started with --type=service --enable-chromoting BUG=none TEST=chrome --type=service --enable-chromoting Review URL: http://codereview.chromium.org/2813038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51393 0039d316-1c4b-4281-b951-d872f2087c98
* Fix thread usage in chromoting hosthclam@chromium.org2010-06-281-0/+51
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