summaryrefslogtreecommitdiffstats
path: root/remoting/remoting.gyp
Commit message (Collapse)AuthorAgeFilesLines
* Local Login on Mac, using OS X Security frameworklambroslambrou@chromium.org2011-03-031-2/+1
| | | | | | | | | BUG=None TEST=Connect to Mac host, and try correct or incorrect username/password for Local Login. Review URL: http://codereview.chromium.org/6605001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76739 0039d316-1c4b-4281-b951-d872f2087c98
* SocketWrapper for interfacing between JingleSession and SSL socketshclam@chromium.org2011-03-021-0/+2
| | | | | | | | | | | | | | | | Remoting code allows sockets to be destroyed on threads other than the network thread, although they are only accessed on network thread. If SSL sockets are destroyed too early some remotings objects will crash accessing them. This patch introduces a SocketWrapper that destroys SSL sockets on the network thread but stay alive so that remoting objects can operate safely. BUG=72670 TEST=None Review URL: http://codereview.chromium.org/6525007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76635 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up mac test client and simple host for remoting.dmaclach@chromium.org2011-03-021-0/+4
| | | | | | | | | | | | | Remoting's test client and simple host weren't initializing the NSApplication correctly which is required for MessageLoops to work on the Mac. These are just test apps that we use, so I felt it was ok to bring in code from base/test. Also added a check to message_pump_mac.mm to verify that NSApp is initialized before we attempt to use it. BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/6461023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76624 0039d316-1c4b-4281-b951-d872f2087c98
* Fold jingle_connection_to_host into connection_to_host.garykac@chromium.org2011-02-281-2/+0
| | | | | | | | | BUG=none TEST=unittests Review URL: http://codereview.chromium.org/6532099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76306 0039d316-1c4b-4281-b951-d872f2087c98
* Use PAM auth on Linux, and stubs on other platforms.lambroslambrou@chromium.org2011-02-251-0/+9
| | | | | | | | | BUG=None TEST=Enter correct or incorrect user/password into Local Login prompt. Review URL: http://codereview.chromium.org/6566006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76050 0039d316-1c4b-4281-b951-d872f2087c98
* Add DesktopEnvironment class and refactor.lambroslambrou@chromium.org2011-02-231-2/+2
| | | | | | | | | BUG=none TEST=It builds and runs Review URL: http://codereview.chromium.org/6541018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75739 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: UserAuthenticator interface and its implementation for PAM.sergeyu@chromium.org2011-02-161-0/+4
| | | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/6484002 Patch from Lambros Lambrou <lambroslambrou@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75069 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit - Use SSE2 block differ for chromotinghclam@chromium.org2011-02-111-2/+41
| | | | | | | | | | | | | Put the SSE2 block differ code back in. TBR=dhollowa BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6501005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74671 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74571 - Use SSE2 block differ for chromotingdhollowa@chromium.org2011-02-111-41/+2
| | | | | | | | | | | | | | | | | | | | | | We have the SSE2 lying around in the tree just never being used. This will allow us to use it. A number of Windows bots have gone red in media_tests on the waterfall: http://build.chromium.org/p/chromium/builders/XP%20Tests%20%281%29 http://build.chromium.org/p/chromium/builders/XP%20Tests%20%281%29/builds/501/steps/media_unittests/logs/stdio This seems to be related to r74571. So am reverting to see. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/6502002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74630 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74583 - Revert 74571 - Use SSE2 block differ for chromotingfinnur@chromium.org2011-02-111-2/+41
| | | | | | | | | | | | | | | | | | | | (Quick test to see if it is the cause of crashes in media_unittests) (Test showed this CL is not to blame) We have the SSE2 lying around in the tree just never being used. This will allow us to use it. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/6488023 TBR=finnur@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74588 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74571 - Use SSE2 block differ for chromotingfinnur@chromium.org2011-02-111-41/+2
| | | | | | | | | | | | | | | | | (Quick test to see if it is the cause of crashes in media_unittests) We have the SSE2 lying around in the tree just never being used. This will allow us to use it. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/6488023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74583 0039d316-1c4b-4281-b951-d872f2087c98
* Use SSE2 block differ for chromotinghclam@chromium.org2011-02-111-2/+41
| | | | | | | | | | | | We have the SSE2 lying around in the tree just never being used. This will allow us to use it. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74571 0039d316-1c4b-4281-b951-d872f2087c98
* Another big out-of-lining of test code. Hits a lot of gmock objectserg@google.com2011-02-081-2/+2
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6413036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74168 0039d316-1c4b-4281-b951-d872f2087c98
* More out-of-lining of test code, along with a bunch of GMOCK objects.erg@google.com2011-02-081-5/+8
| | | | | | | | | | | Most notably, rename various mock_objects.h files in remoting/ because after deinlining, there were compile failures. This fixes Windows compiling because you can't have two implementation files with the same name in a project, even if they are in different directories. (The output from one compile will clobber the others!) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6250198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74059 0039d316-1c4b-4281-b951-d872f2087c98
* Move src/gfx/ to src/ui/gfxsail@chromium.org2011-02-021-2/+2
| | | | | | | | | | | To reduce the size of this change I've left stub header files in src/gfx/. Once all includes have been updated I'll delete the stub files. BUG=71063 TEST=Still doing test builds. Review URL: http://codereview.chromium.org/6246027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73530 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete files from 'sources'. This causes needless work on ↵jeanluc@chromium.org2011-01-311-2/+0
| | | | | | | | | | | incremental builds in VS2010. BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6386019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73190 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73121 - Remove obsolete files from 'sources'. This causes needless ↵nsylvain@chromium.org2011-01-311-0/+2
| | | | | | | | | | | | | | | | | | work on incremental builds in VS2010. This is breaking clobber builds with this error : e:\b\build\slave\google-chrome-rel-win\build\src\chrome_frame\iids.cc(6) : fatal error C1083: Cannot open include file: 'chrome_tab.h': No such file or directory BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6307018 TBR=jeanluc@chromium.org Review URL: http://codereview.chromium.org/6347032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73124 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete files from 'sources'. This causes needless work on ↵jeanluc@chromium.org2011-01-301-2/+0
| | | | | | | | | | | incremental builds in VS2010. BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6307018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73121 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit "Fix crashes in ChromotingHost"hclam@chromium.org2011-01-281-0/+1
| | | | | | | | | | | | Simplified the test to run on the main message loop. Also fixed a possible memory leak caught by valgrind. BUG=70903 TEST=None Review URL: http://codereview.chromium.org/6245016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73023 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fix crashes in ChromotingHost"hclam@chromium.org2011-01-261-1/+0
| | | | | | | | | | | | | | Reverting the patch since it exposed several memory leaks and threading problems. TBR=thakis BUG=70935 TEST=None Review URL: http://codereview.chromium.org/6266023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72679 0039d316-1c4b-4281-b951-d872f2087c98
* Add PepperViewProxy to protect PepperView and ChromotingInstance on shutdownhclam@chromium.org2011-01-261-0/+2
| | | | | | | | | | | | | | Adding a refcounted PepperViewProxy so that we can detach PepperView when ChromotingInstance is destroyed. PepperViewProxy also performs the task of thread delegation for PepperView so we can assume PepperView is used only on pepper thread. BUG=65696 TEST=None Review URL: http://codereview.chromium.org/6359010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72568 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crashes in ChromotingHosthclam@chromium.org2011-01-251-0/+1
| | | | | | | | | | | | Capturer should be owned by ScreenRecoder. This patch also addes test to test reconnection of ChromotingHost. BUG=69969 TEST=ChromotingHostTest.* Review URL: http://codereview.chromium.org/6266010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72543 0039d316-1c4b-4281-b951-d872f2087c98
* Changed MessageReader so that it doesn't read from the socket if there aresergeyu@chromium.org2011-01-221-0/+1
| | | | | | | | | | | other messages being processed. Added unittests for MessageReader. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6271004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72262 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting protocol layers to receive and send login messageshclam@chromium.org2010-12-231-0/+5
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6030007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70036 0039d316-1c4b-4281-b951-d872f2087c98
* Reenable encoder/decoder tests.sergeyu@chromium.org2010-12-071-6/+12
| | | | | | | | | BUG=57351 TEST=Unittests Review URL: http://codereview.chromium.org/5635003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68504 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 68434 - Reenable encoder/decoder tests.scherkus@chromium.org2010-12-071-6/+6
| | | | | | | | | | | | BUG=57351 TEST=Unittests Review URL: http://codereview.chromium.org/5635003 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/5581007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68437 0039d316-1c4b-4281-b951-d872f2087c98
* Reenable encoder/decoder tests.sergeyu@chromium.org2010-12-071-6/+6
| | | | | | | | | BUG=57351 TEST=Unittests Review URL: http://codereview.chromium.org/5635003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68434 0039d316-1c4b-4281-b951-d872f2087c98
* Removed stream_writer.[cc|h]sergeyu@chromium.org2010-12-071-2/+0
| | | | | | | | | | | StreamWriter classes are not used anymore. Removing them. BUG=None TEST=None Review URL: http://codereview.chromium.org/5575005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68433 0039d316-1c4b-4281-b951-d872f2087c98
* Rename SessionManager to ScreenRecorderhclam@chromium.org2010-12-061-3/+3
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/5118002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68396 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor ZLib and Verbatim encoders.sergeyu@chromium.org2010-12-061-6/+5
| | | | | | | | | | | Added EncoderRowBased that implements encoding for both ZLib and Verbatim. BUG=None TEST=None Review URL: http://codereview.chromium.org/5382008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68394 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up client events to new protocol stubs.sergeyu@chromium.org2010-11-291-0/+1
| | | | | | | | | | | | Patch by garykac@chromium.com. Original review: http://codereview.chromium.org/5062001 BUG=none TEST=none Review URL: http://codereview.chromium.org/5345007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67594 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented RtcpWriter for sending RTCP Receiver Reports.sergeyu@chromium.org2010-11-241-0/+2
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/5122008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67215 0039d316-1c4b-4281-b951-d872f2087c98
* Unittests for RTP packetizer and depacketizer.sergeyu@chromium.org2010-11-171-1/+2
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/4946001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66536 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a fake HostStub since there's no need to handle it nowhclam@chromium.org2010-11-171-0/+2
| | | | | | | | | | | Also changed ChormotingHost to use it. BUG=None TEST=None Review URL: http://codereview.chromium.org/4975003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66389 0039d316-1c4b-4281-b951-d872f2087c98
* Implement input stub in the host side for chromotinghclam@chromium.org2010-11-161-1/+0
| | | | | | | | | | | Implement InputStub for the host. BUG=None TEST=None Review URL: http://codereview.chromium.org/4726003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66314 0039d316-1c4b-4281-b951-d872f2087c98
* Added CompoundBuffer that will be used to store data in the encoding/decodingsergeyu@chromium.org2010-11-161-3/+3
| | | | | | | | | | | pipeline. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/4779001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66209 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply of r65413. Add linux executor support for Chromoting host.ajwong@chromium.org2010-11-111-0/+1
| | | | | | | | | | | Original CL: http://codereview.chromium.org/4058002 See the Original CL and revision for a full description. All bots have been reverified to have the XTest dependency added. BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65852 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Reapply of r65413. XTest dependencies added to _chroots_ on linux bots."ajwong@chromium.org2010-11-101-1/+0
| | | | | | TBR=jcivelli git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65712 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply of r65413. XTest dependencies added to _chroots_ on linux bots.ajwong@chromium.org2010-11-101-0/+1
| | | | | | | | | | | Original CL: http://codereview.chromium.org/4058002 BUG=None TEST=Was already passing try bots, etc. Now we're checking waterfall buildbot configs. Review URL: http://codereview.chromium.org/4772001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65709 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakhclam@chromium.org2010-11-091-2/+0
| | | | | | | | | | | | Fix gyp merge issue. TBR=ajwong BUG=None TEST=None Review URL: http://codereview.chromium.org/4704004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65474 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of InputStub for chromotinghclam@chromium.org2010-11-091-8/+12
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4533001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65473 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Reapply of r65413. XTest dependencies added to linux bots."ajwong@chromium.org2010-11-091-1/+0
| | | | | | | | This reverts the reapply in r65467. TBR=suzhe git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65470 0039d316-1c4b-4281-b951-d872f2087c98
* Use the XTest extension to execute mouse and keyboard events.ajwong@chromium.org2010-11-091-0/+1
| | | | | | | | | | | | | | | | | Not all keyboard codes are current supported. The key events still don't register all the time on the remote end. I think it's an input focus problem. Will need further debugging. Also, when used with CapturerLinux, this double opens the X display. This needs to be factored out. BUG=none TEST=connects, and key presses transmit. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65413 Review URL: http://codereview.chromium.org/4058002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65467 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Rename ChromotocolConfig -> SessionConfiggarykac@chromium.org2010-11-081-2/+2
| | | | | | | | | BUG=none TEST=build chrome, chromoting Review URL: http://codereview.chromium.org/4446005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65451 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Use the XTest extension to execute mouse and keyboard events."ajwong@chromium.org2010-11-081-1/+0
| | | | | | | | This reverts commit r65413. TBR=hclam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65414 0039d316-1c4b-4281-b951-d872f2087c98
* Use the XTest extension to execute mouse and keyboard events.ajwong@chromium.org2010-11-081-0/+1
| | | | | | | | | | | | | | | Not all keyboard codes are current supported. The key events still don't register all the time on the remote end. I think it's an input focus problem. Will need further debugging. Also, when used with CapturerLinux, this double opens the X display. This needs to be factored out. BUG=none TEST=connects, and key presses transmit. Review URL: http://codereview.chromium.org/4058002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65413 0039d316-1c4b-4281-b951-d872f2087c98
* Removed dependence on remoting/client from remoting/protocol.sergeyu@chromium.org2010-11-051-27/+27
| | | | | | | | | | Reenable commented targets in remoting.gyp BUG=None TEST=compiles Review URL: http://codereview.chromium.org/4558001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65248 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of ClientStubImplhclam@chromium.org2010-11-051-0/+3
| | | | | | | | | | | Implementing ClientStubImpl using socket and BufferedSocketWriter. BUG=none TEST=none Review URL: http://codereview.chromium.org/4440001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65234 0039d316-1c4b-4281-b951-d872f2087c98
* Comment out broken chromoting targetsgarykac@chromium.org2010-11-041-27/+27
| | | | | | | | | | | TBR ajwong BUG=broken waterfall TEST=verifed they were no longer present - build works locally before/after Review URL: http://codereview.chromium.org/4529001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65123 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Rename HostConnection to ConnectionToHostgarykac@chromium.org2010-11-041-3/+3
| | | | | | | | | BUG=none TEST=build chrome, chromoting Review URL: http://codereview.chromium.org/4457002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65121 0039d316-1c4b-4281-b951-d872f2087c98