summaryrefslogtreecommitdiffstats
path: root/remoting/host
Commit message (Collapse)AuthorAgeFilesLines
* remoting: Use GetBytesPerPixel util function in one more place.tfarina@chromium.org2010-06-281-14/+2
| | | | | | | | | | | Note: This fix another TODO for hclam, missed in the other patch. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/2863028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51018 0039d316-1c4b-4281-b951-d872f2087c98
* Fixs mismatched delete.sky@chromium.org2010-06-281-2/+2
| | | | | | | | | | BUG=none TEST=none TBR=garykac Review URL: http://codereview.chromium.org/2876013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50992 0039d316-1c4b-4281-b951-d872f2087c98
* Removed dependency on chrome/common.sergeyu@chromium.org2010-06-252-13/+32
| | | | | | | | | | | | JSONReader and JSONWriter are used to read/write json file instead of JsonPrefStore. BUG=none TEST=unittests Review URL: http://codereview.chromium.org/2819026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50809 0039d316-1c4b-4281-b951-d872f2087c98
* Fix host auth scripts to work with Windows.garykac@google.com2010-06-251-3/+10
| | | | | | | | | | | Fix simple_host to work when \Users\<username> is on a different drive than the chrome repository. BUG=none TEST=run scripts & host process on Windows Review URL: http://codereview.chromium.org/2822029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50802 0039d316-1c4b-4281-b951-d872f2087c98
* Get scripts working independent of where they are run.dmaclach@chromium.org2010-06-231-3/+13
| | | | | | | | | | | Also store script data in home directory. TEST=none BUG=none Review URL: http://codereview.chromium.org/2832019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50598 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed memleak in JsonHostConfig.sergeyu@chromium.org2010-06-181-0/+1
| | | | | | | | | BUG=46882 TEST=heapcheck on remoting_unittests Review URL: http://codereview.chromium.org/2819013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50270 0039d316-1c4b-4281-b951-d872f2087c98
* JSON based host config storage implemented. Python script for host registration.sergeyu@chromium.org2010-06-1711-123/+372
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/2804007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50166 0039d316-1c4b-4281-b951-d872f2087c98
* Fix double deletion in SessionManagerhclam@chromium.org2010-06-161-1/+0
| | | | | | | | | | | SessionManaerTest::OneRecordCycle is broken due to double deletion. TEST=remoting_unittests passes TBR=dmaclach since this is <= 5 lines. Review URL: http://codereview.chromium.org/2850008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50033 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix undefined assignment evaluation order in ↵mattm@chromium.org2010-06-161-1/+1
| | | | | | | | | | | | remoting::Capturer::FinishCapture. CID=10878 BUG=none TEST=builds Review URL: http://codereview.chromium.org/2847010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50012 0039d316-1c4b-4281-b951-d872f2087c98
* Added HostConfig class. Changed SimpleHost to use it.sergeyu@chromium.org2010-06-156-28/+114
| | | | | | | | | BUG=none TEST=unittests Review URL: http://codereview.chromium.org/2810002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49852 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up compile warnings based to match other chromium sub-projects.dmaclach@chromium.org2010-06-154-12/+10
| | | | | | | | | | | Fix up the issues that the new warnings raised. BUG=none TEST=build remoting cleanly Review URL: http://codereview.chromium.org/2801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49842 0039d316-1c4b-4281-b951-d872f2087c98
* Revamp threading a bit so that arguments are passed through and owned by the ↵dmaclach@chromium.org2010-06-1511-145/+166
| | | | | | | | | | | various threads instead of being all owned by the session manager. BUG=none TEST=none Review URL: http://codereview.chromium.org/2807002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49803 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some chromoting codehclam@chromium.org2010-06-153-62/+34
| | | | | | | | | Renamed SimpleHost to ChromotingHost as it's not simple any more and it's becoming mature enough to be the main host implementation. Review URL: http://codereview.chromium.org/2722010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49748 0039d316-1c4b-4281-b951-d872f2087c98
* BlockDifference function that returns 0 or 1 depending if block is same or ↵fbarchard@chromium.org2010-06-113-38/+99
| | | | | | | | | | | different. BUG=none TEST=unittest updated and includes benchmarking. Review URL: http://codereview.chromium.org/2712006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49583 0039d316-1c4b-4281-b951-d872f2087c98
* Extract auth token into separate .chromotingAuthToken file so it can be re-used.garykac@google.com2010-06-111-8/+35
| | | | | | | | | | | Modify chromoting_simple_host to accept cmd-line args for jid and auth-token. BUG=none TEST=none Review URL: http://codereview.chromium.org/2757006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49484 0039d316-1c4b-4281-b951-d872f2087c98
* psadbw based differencing functionfbarchard@chromium.org2010-06-111-3/+58
| | | | | | | | | BUG=none TEST=should still build and pass unittest, but more efficiently Review URL: http://codereview.chromium.org/2749007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49480 0039d316-1c4b-4281-b951-d872f2087c98
* Separate out HostConnection into an interface and a jingle-basedajwong@chromium.org2010-06-103-33/+66
| | | | | | | | implementation. Refactor to inject the running thread for Jingle. Review URL: http://codereview.chromium.org/2753006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49419 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chromoting windows buildhclam@chromium.org2010-06-101-2/+2
| | | | | | | | This change also changes the CapturerGdi to output 32bit instead of 24bit. Review URL: http://codereview.chromium.org/2771007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49351 0039d316-1c4b-4281-b951-d872f2087c98
* Re-add (curiously) missing 'return' statement to differ_unittest.garykac@google.com2010-06-101-1/+1
| | | | | | | | | BUG=none TEST=unittests on Windows Review URL: http://codereview.chromium.org/2772002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49349 0039d316-1c4b-4281-b951-d872f2087c98
* Set up the message loop of the mac host to be UI based so that it can pick updmaclach@chromium.org2010-06-091-4/+13
| | | | | | | | | | | the system callbacks about screen changes. Also clean up some comments. BUG=none TEST=none Review URL: http://codereview.chromium.org/2790002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49342 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up the define usage so that we actually handle OSX specific stuff correctly.dmaclach@chromium.org2010-06-091-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2784001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49341 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a chromoting client using X11hclam@chromium.org2010-06-0920-83/+95
| | | | | | | | | | | | | Using XRender to render the chromoting client. This patch has done several things: 1. Rename chromotocol_pb to remoting 2. Defined ChromotingView as the display area of the remote view 3. Implemented X11Client as the client that uses X11 for display 4. Implemented X11View that uses XRender for drawing 5. Fixed several problems in host capturer and encoder Review URL: http://codereview.chromium.org/2745006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49329 0039d316-1c4b-4281-b951-d872f2087c98
* Token-based authentication for chromoting.sergeyu@chromium.org2010-06-093-17/+16
| | | | | | | | | | | BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49298 Review URL: http://codereview.chromium.org/2749004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49326 0039d316-1c4b-4281-b951-d872f2087c98
* Initial code for screen differ that divides screen into blocks and calculategarykac@google.com2010-06-093-0/+842
| | | | | | | | | | | a 'minimal' set of rectangles that covers the changed region. BUG=none TEST=new unittests added Review URL: http://codereview.chromium.org/2714007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49325 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 49298 - Broke compile - Token-based authentication for chromoting.rsesek@chromium.org2010-06-093-16/+17
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2749004 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/2724010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49300 0039d316-1c4b-4281-b951-d872f2087c98
* Token-based authentication for chromoting.sergeyu@chromium.org2010-06-093-17/+16
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2749004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49298 0039d316-1c4b-4281-b951-d872f2087c98
* Heartbeat error logging for chromoting.sergeyu@chromium.org2010-06-082-1/+10
| | | | | | | | | TEST=simple_host logs error received from the bot. BUG=None Review URL: http://codereview.chromium.org/2711003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49136 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chromoting build issues on Windowshclam@chromium.org2010-06-072-8/+4
| | | | | | | | | | Fixed compilation errors on windows. TEST=chromoting builds on windows Review URL: http://codereview.chromium.org/2711001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49115 0039d316-1c4b-4281-b951-d872f2087c98
* Copy the (early prototype of) remoting in Chrome into the public tree.garykac@google.com2010-06-0743-0/+3756
At the moment, this is a semi-functional demo. BUG=none TEST=build/run all unittests on linux Review URL: http://codereview.chromium.org/2690003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49087 0039d316-1c4b-4281-b951-d872f2087c98