summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Carnitas: Delete stub src/gfx/* headerssail@chromium.org2011-02-131-1/+0
| | | | | | | | | | | The last references to src/gfx/* have been updated so it's safe to delete the stub headers. BUG=None TEST=None Review URL: http://codereview.chromium.org/6474031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74741 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit - Use SSE2 block differ for chromotinghclam@chromium.org2011-02-118-111/+209
| | | | | | | | | | | | | 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-118-209/+111
| | | | | | | | | | | | | | | | | | | | | | 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-118-111/+209
| | | | | | | | | | | | | | | | | | | | (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-118-209/+111
| | | | | | | | | | | | | | | | | (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-118-111/+209
| | | | | | | | | | | | 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
* Invalidate fullscreen when a new client connects to chromoting hosthclam@chromium.org2011-02-097-4/+31
| | | | | | | | | BUG=72252 TEST=Reconnect and screen looks right Review URL: http://codereview.chromium.org/6469004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74365 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in chromoting codehclam@chromium.org2011-02-091-1/+1
| | | | | | | | | | | Fixing leak in DecompressorZlib and removed suppression. BUG=57910, 57799 TEST=valgrind bot is green Review URL: http://codereview.chromium.org/6458009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74256 0039d316-1c4b-4281-b951-d872f2087c98
* [chromoting] Fix crash in JingleSession.sergeyu@chromium.org2011-02-091-2/+3
| | | | | | | | | | | | | With ToT JingleSession may DCHECK in SetState() when the other end disconnects. Don't call SetState() in ReleaseSession(), as it is not neccessary. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6456015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74235 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a scrollbar for chromoting client pluginhclam@chromium.org2011-02-097-26/+46
| | | | | | | | | | | Added javascript properties to report desktop size. This is then used to set <div> dimension so allow scrollbar to show up. BUG=72266 Review URL: http://codereview.chromium.org/6419001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74205 0039d316-1c4b-4281-b951-d872f2087c98
* Another big out-of-lining of test code. Hits a lot of gmock objectserg@google.com2011-02-087-36/+23
| | | | | | | | | 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
* Fix and enable JingleSessionTest.*. Disable these tests under TSan.sergeyu@chromium.org2011-02-084-57/+58
| | | | | | | | | BUG=70225 TEST=None Review URL: http://codereview.chromium.org/6246051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74080 0039d316-1c4b-4281-b951-d872f2087c98
* More out-of-lining of test code, along with a bunch of GMOCK objects.erg@google.com2011-02-0811-34/+116
| | | | | | | | | | | 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
* Disable JingleSessionTest.TestEventChannel, flakily triggersphajdan.jr@chromium.org2011-02-071-1/+2
| | | | | | | | | | | | | | | | | a libjingle assertion on a Windows trybot. This is not a tsan-specific issue. http://build.chromium.org/p/tryserver.chromium/builders/win/builds/14297 vm7-m4 TBR=sergeyu BUG=70225 TEST=remoting_unittests Review URL: http://codereview.chromium.org/6312182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73974 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromoting Extension Version number in Manifestajwong@chromium.org2011-02-051-1/+1
| | | | | | | | BUG=none TEST=none TBR=garykac git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73909 0039d316-1c4b-4281-b951-d872f2087c98
* gfx -> ui/gfx move to make check_deps happy.thestig@chromium.org2011-02-051-1/+1
| | | | | | | | BUG=none TEST=tree goes green Review URL: http://codereview.chromium.org/6413006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73899 0039d316-1c4b-4281-b951-d872f2087c98
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-0512-12/+12
| | | | | | | | | BUG=71063 TEST=compiled Review URL: http://codereview.chromium.org/6312156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98
* Lower image quality for chromoting to improve encode speed and compression ratiohclam@chromium.org2011-02-041-2/+2
| | | | | | | | | | | | | | We were using very high quality for images, giving high bandwidth consumption and more bits to encode. TBR=ajwong@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/6286114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73811 0039d316-1c4b-4281-b951-d872f2087c98
* Remove auto generation of certificate when chromoting client connectshclam@chromium.org2011-02-046-60/+53
| | | | | | | | | | | Generate certificate once and reuse it in all chromoting session. BUG=None TEST=None Review URL: http://codereview.chromium.org/6246077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73781 0039d316-1c4b-4281-b951-d872f2087c98
* Added XFlush calls.ajwong@chromium.org2011-02-041-2/+35
| | | | | | | | | | | | Fixed mouse button mapping. BUG=71663 TEST=Connect to a Linux host and try to move the mouse and type text. Both should work as they would at the console. Review URL: http://codereview.chromium.org/6368052 Patch from Jamie Walch <jamiewalch@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73755 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a typo in Chromoting linux capturer codehclam@chromium.org2011-02-041-1/+1
| | | | | | | | | | | Linux capturer code has a type which causes artifacts in the image. BUG=71697 TEST=None Review URL: http://codereview.chromium.org/6312131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73741 0039d316-1c4b-4281-b951-d872f2087c98
* Faster connection establishment for chromotinghclam@chromium.org2011-02-044-4/+39
| | | | | | | | | | | | | Chromoting used to generate a new key and certificate everytime we connect. This patch reuse the private key in host config and generate a certificate from it. This is still not optimal but much faster than before. BUG=71253 TEST=none Review URL: http://codereview.chromium.org/6312114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73740 0039d316-1c4b-4281-b951-d872f2087c98
* Speed up chromoting encoding and decoding path for VP8hclam@chromium.org2011-02-048-52/+211
| | | | | | | | | | | | | | Several enhancements in this patch: 1. Encoder reports updated rects 2. VP8 decoder only performs YUV conversion on updated rects 3. Painting only updated rects in pepper plugin BUG=71253 TEST=Use chromoting to watch video Review URL: http://codereview.chromium.org/6368070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73737 0039d316-1c4b-4281-b951-d872f2087c98
* Removed unused X11 graphics context.ajwong@chromium.org2011-02-031-16/+0
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6410027 Patch from Jamie Walch <jamiewalch@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73593 0039d316-1c4b-4281-b951-d872f2087c98
* Fix rate controlling in chromoting hosthclam@chromium.org2011-02-031-3/+4
| | | | | | | | | | | | ScreenRecorder was capturing too fast and wasn't rate limited, resulting in excessive CPU load. Adding the condition to do proper rate limiting. BUG=71253 TEST=None Review URL: http://codereview.chromium.org/6334073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73575 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux capturer for chromotinghclam@chromium.org2011-02-031-12/+46
| | | | | | | | | | | | | | There were serveral problems in the linux capturer: - Over-memcpy, too many pixels on each row are copied - Incorrect offsets, due to the fact we are generating reverted images - Incremental updates, and we need to apply changes from previous buffer BUG=71697 TEST=Use chromoting client to connect to a chromoting host on linux Review URL: http://codereview.chromium.org/6349059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73560 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting host to convert only changed regionshclam@chromium.org2011-02-031-35/+48
| | | | | | | | | | | | This significantly reduces the number of pixels we need to perform color space conversion. BUG=71253 TEST=None Review URL: http://codereview.chromium.org/6334040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73553 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
* Disable JingleSessionTest.Connect, JingleSessionTest.TestControlChannelphajdan.jr@chromium.org2011-02-021-2/+4
| | | | | | | | | | | | | | Those tests flakily trigger a libjingle assertion: Error(common.cc:67): e:\b\build\slave\win\build\src\third_party\libjingle\source\talk\session\tunnel\pseudotcpchannel.cc(281): ASSERT FAILED: stream_ != NULL && stream_thread_->IsCurrent() @ cricket::PseudoTcpChannel::Close TBR=hclam BUG=70225 TEST=remoting_unittests Review URL: http://codereview.chromium.org/6334046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73436 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup everything but net/ for our first clang plugins.erg@google.com2011-02-021-1/+1
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6250088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73396 0039d316-1c4b-4281-b951-d872f2087c98
* Stop ScreenRecorder before it startedhclam@chromium.org2011-02-022-3/+7
| | | | | | | | | | | Allow ScreenRecorder to be stopped anytime. BUG=None TEST=None Review URL: http://codereview.chromium.org/6246034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73392 0039d316-1c4b-4281-b951-d872f2087c98
* Disable login panel correctly for chromoting client pluginhclam@chromium.org2011-02-011-1/+1
| | | | | | | | | | | TBR=sergeyu BUG=None TEST=None Review URL: http://codereview.chromium.org/6312065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73325 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
* Chromoting client extension: Properly encode ClientLogin request.sergeyu@chromium.org2011-01-311-2/+4
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6378015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73178 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
* Handle Pepper ContextMenu event in Chromoting client plugingarykac@chromium.org2011-01-291-0/+5
| | | | | | | | | BUG=none TEST=manual testing Review URL: http://codereview.chromium.org/6265032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73063 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: JS code to display to hide login dialoghclam@chromium.org2011-01-293-6/+31
| | | | | | | | | | | | Extension JS code to display and hide login dialog. Also allow user to enter username and password. BUG=None TEST=none Review URL: http://codereview.chromium.org/6133005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73062 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting host to respond to BeginSessionRequesthclam@chromium.org2011-01-297-35/+146
| | | | | | | | | | | | ChromotingHost to respond to BeginSessionRequest, pretending login was successul. This allows chromoting client to send login command and proceed. BUG=None TEST=None Review URL: http://codereview.chromium.org/6144002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73052 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit "Fix crashes in ChromotingHost"hclam@chromium.org2011-01-2812-48/+284
| | | | | | | | | | | | 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
* Chromoting pepper plugin to respond to BeginSessionResponsehclam@chromium.org2011-01-2813-28/+132
| | | | | | | | | | | | Trigger loginChallenge when the client is connected or the last login attempt has failed. BUG=None TEST=None Review URL: http://codereview.chromium.org/6160001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73022 0039d316-1c4b-4281-b951-d872f2087c98
* Remove aggressive DCHECK in remoting::protocol::MessageReader()hclam@chromium.org2011-01-281-2/+0
| | | | | | | | | | | DCHECK(!read_pending_) actually may happen and causes unnecessary crashes. BUG=None TEST=None Review URL: http://codereview.chromium.org/6359018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72971 0039d316-1c4b-4281-b951-d872f2087c98
* Use a random number to generate a self-signed certiciate for chromotinghclam@chromium.org2011-01-271-1/+5
| | | | | | | | | | | | | | | | Chromoting host to use a random number to generate self-signed certificate. This method is still not optimal, in case of collision SSLServerSocketNSS will fail to start due to NSS rejecting the certificate. Using a random number is a temporary solution until we can assign certificates to the host. BUG=70013 TEST=Connect to the same chromoting host after client is disconnected. Review URL: http://codereview.chromium.org/6315009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72745 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fix crashes in ChromotingHost"hclam@chromium.org2011-01-2610-255/+46
| | | | | | | | | | | | | | 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
* Fixed memory leaks in remoting_unittests.sergeyu@chromium.org2011-01-261-6/+11
| | | | | | | | | BUG=70826 TEST=remoting_unittests under valgrind Review URL: http://codereview.chromium.org/6266020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72601 0039d316-1c4b-4281-b951-d872f2087c98
* Add PepperViewProxy to protect PepperView and ChromotingInstance on shutdownhclam@chromium.org2011-01-268-52/+273
| | | | | | | | | | | | | | 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-2510-46/+255
| | | | | | | | | | | | 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-2220-152/+430
| | | | | | | | | | | 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
* Add a done task to ScreenRecorder::Stop()hclam@chromium.org2011-01-214-71/+226
| | | | | | | | | | | | ScreenRecorder::Stop() need a done task to indicate it is actually paused. This is needed so that we can shutdown threads safely. BUG=69997 TEST=remoting_unittests --gtest_filter=ScreenRecorder.* Review URL: http://codereview.chromium.org/6282006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72188 0039d316-1c4b-4281-b951-d872f2087c98
* Enable session resumption in SSLServerSocketNSS and unit testshclam@chromium.org2011-01-211-1/+0
| | | | | | | | | | | | SSL_ConfigServerSessionIDCache() is being used in SSLServerSocketNSS and enabling session resumption since passes are now passing. BUG=67236 TEST=net_unittests, remoting_unittests Review URL: http://codereview.chromium.org/6370008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72186 0039d316-1c4b-4281-b951-d872f2087c98