summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Rebrand to use Chromoting more consistently.jamiewalch@google.com2011-08-083-12/+10
| | | | | | | | | BUG=91760 TEST=Manual Review URL: http://codereview.chromium.org/7566051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95858 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r95841 due to failing media_unittests on linux_shared bot.darin@chromium.org2011-08-081-7/+9
| | | | | | | TBR=fischman@chromium.org Review URL: http://codereview.chromium.org/7601002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95846 0039d316-1c4b-4281-b951-d872f2087c98
* Enable media.dll / libmedia.so.darin@chromium.org2011-08-081-9/+7
| | | | | | Review URL: http://codereview.chromium.org/7572040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95841 0039d316-1c4b-4281-b951-d872f2087c98
* Add beforeUnload handler to confirm exit.jamiewalch@google.com2011-08-063-3/+39
| | | | | | | | | BUG=91835 TEST=Close the window at various points and check that you are prompted (or not) according to whether or not there is a connection pending or in progress. Review URL: http://codereview.chromium.org/7583018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95696 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Use gtk_dialog_get_content_area() throughout.tfarina@chromium.org2011-08-052-2/+4
| | | | | | | | | | | BUG=None TEST=None R=tony@chromium.org Review URL: http://codereview.chromium.org/7569012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95677 0039d316-1c4b-4281-b951-d872f2087c98
* Removed oauth2_callback.html, merged functionality into remoting.js and ↵jamiewalch@google.com2011-08-041-4/+1
| | | | | | | | | | | improved 'No thanks' UX. BUG=91719 TEST=Manual Review URL: http://codereview.chromium.org/7574019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95531 0039d316-1c4b-4281-b951-d872f2087c98
* Don't examine jingleNode unless it's non-null.jamiewalch@chromium.org2011-08-041-4/+6
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7578009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95526 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use JingleThread in the client plugin.sergeyu@chromium.org2011-08-045-23/+15
| | | | | | | | | TEST=client works with seccomp sandbox. BUG=None Review URL: http://codereview.chromium.org/7575016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95511 0039d316-1c4b-4281-b951-d872f2087c98
* Generate Breakpad symbols for Remoting Host plugin on Mac.lambroslambrou@chromium.org2011-08-041-1/+9
| | | | | | | | | | | See also http://crrev.com/95103 BUG=87632 TEST=Official build logs show Breakpad symbols being uploaded to crash server. Review URL: http://codereview.chromium.org/7562002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95498 0039d316-1c4b-4281-b951-d872f2087c98
* Define Chromoting's differ block size in one (and only one) place.garykac@chromium.org2011-08-046-20/+18
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7511014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95475 0039d316-1c4b-4281-b951-d872f2087c98
* Set send buffer size for the raw socket used by chromotinghclam@chromium.org2011-08-041-0/+10
| | | | | | | | | | | | | | | On Windows the send buffer size of UDP socket has a much smaller value than the PseudoTcp's send buffer size. This causes PseudoTcp to flood the UDP socket and results in a EWOULDBLOCK, however the code doesn't handle this properly but simply treat the packet as lost. This happens very often and causes Windows host to be very janky. BUG=91495 TEST=None Review URL: http://codereview.chromium.org/7508015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95473 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in ScreenRecordersergeyu@chromium.org2011-08-042-2/+9
| | | | | | | | | BUG=91620 TEST=Host doesn't crash Review URL: http://codereview.chromium.org/7563026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95440 0039d316-1c4b-4281-b951-d872f2087c98
* Fix header/footer line alignment.jamiewalch@google.com2011-08-041-3/+4
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7565018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95436 0039d316-1c4b-4281-b951-d872f2087c98
* Future proof against things like http://crbug.com/91521dmaclach@chromium.org2011-08-041-1/+11
| | | | | | | | | | | | BUG=91521 TEST=Remove ffmpegsumo.so from a mac chrome build and attempt to use it as a client in a chromoting session. Check your logs. You should see Media library not initialized. Also, plugin shouldn't crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95414 Review URL: http://codereview.chromium.org/7562016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95421 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 95414 - Future proof against things like http://crbug.com/91521dmaclach@chromium.org2011-08-043-32/+10
| | | | | | | | | | | | | BUG=91521 TEST=Remove ffmpegsumo.so from a mac chrome build and attempt to use it as a client in a chromoting session. Check your logs. You should see Media library not initialized. Also, plugin shouldn't crash. Review URL: http://codereview.chromium.org/7562016 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/7576005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95415 0039d316-1c4b-4281-b951-d872f2087c98
* Future proof against things like http://crbug.com/91521dmaclach@chromium.org2011-08-043-10/+32
| | | | | | | | | | BUG=91521 TEST=Remove ffmpegsumo.so from a mac chrome build and attempt to use it as a client in a chromoting session. Check your logs. You should see Media library not initialized. Also, plugin shouldn't crash. Review URL: http://codereview.chromium.org/7562016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95414 0039d316-1c4b-4281-b951-d872f2087c98
* Modify Chromoting logging to hook into base logging.garykac@chromium.org2011-08-0423-397/+288
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7355011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95380 0039d316-1c4b-4281-b951-d872f2087c98
* Use correct OpenGL test.jamiewalch@google.com2011-08-041-1/+1
| | | | | | | | | BUG=91619 TEST=Manual Review URL: http://codereview.chromium.org/7565025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95364 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PepperP2PChannel to PepperTransportSocketAdaptor. Implement ↵sergeyu@chromium.org2011-08-035-248/+370
| | | | | | | | | | | net::SocketStream interface. BUG=51198 TEST=None Review URL: http://codereview.chromium.org/7549027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95325 0039d316-1c4b-4281-b951-d872f2087c98
* Return correct value from XmppSignalStrategy::HandleStanza()sergeyu@chromium.org2011-08-035-7/+12
| | | | | | | | | BUG=91531 TEST=Connection always works. Review URL: http://codereview.chromium.org/7564024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95316 0039d316-1c4b-4281-b951-d872f2087c98
* Improve authentication UX.jamiewalch@google.com2011-08-035-123/+92
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7542030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95293 0039d316-1c4b-4281-b951-d872f2087c98
* Disable RTP support in remoting protocol code.sergeyu@chromium.org2011-08-034-32/+10
| | | | | | | | | | | Also disabled Zip encoder/decoder. TEST=Compiles,connects BUG=91538 Review URL: http://codereview.chromium.org/7563010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95286 0039d316-1c4b-4281-b951-d872f2087c98
* Fix remoting_simple_host to use Access Code as session shared-secret for auth.wez@chromium.org2011-08-031-24/+32
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7561001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95283 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for diffing partial blocks in Chromoting.garykac@chromium.org2011-08-034-64/+143
| | | | | | | | | | | | This is needed when the screen size is not a multiple of our block size that we use for calculating the screen update region. BUG=89807 TEST=unittests Review URL: http://codereview.chromium.org/7482031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95280 0039d316-1c4b-4281-b951-d872f2087c98
* Changed disconnect shortcut to Ctrl+Alt+Esc.jamiewalch@chromium.org2011-08-033-6/+9
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7552019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95255 0039d316-1c4b-4281-b951-d872f2087c98
* XIB: change remoting window back to a panel so it stays on top.dmaclach@chromium.org2011-08-031-2/+2
| | | | | | | | | BUG=NONE TEST=Make a remoting connection where the mac is host, and make sure the disconnect window stays afloat. Review URL: http://codereview.chromium.org/7466055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95250 0039d316-1c4b-4281-b951-d872f2087c98
* Call Pepper's Flush command properlyhclam@chromium.org2011-08-033-9/+31
| | | | | | | | | | | | | | Need to provide a flag to the Flush command otherwise it won't return a proper error to notify that Flush has failed. Because of this there's some content in the plugin area not updated until the next frame arrives. BUG=80000, 91300 TEST=Try chromoting, do a small action, stop the mouse, animation should completes. Review URL: http://codereview.chromium.org/7550008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95227 0039d316-1c4b-4281-b951-d872f2087c98
* Respect NAT traversal policy in the Chromoting client plugin.ajwong@chromium.org2011-08-033-26/+167
| | | | | | | | | BUG=90213 TEST=manual Review URL: http://codereview.chromium.org/7453066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95185 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate connected user to web app.jamiewalch@google.com2011-08-0312-22/+88
| | | | | | | | | BUG=91047 TEST=Manual Review URL: http://codereview.chromium.org/7547001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95183 0039d316-1c4b-4281-b951-d872f2087c98
* Add i18n support to it2me web-app.jamiewalch@google.com2011-08-028-135/+334
| | | | | | | | | BUG=None TEST=Check the javascript console after loading the app and make sure there are no error messages. Review URL: http://codereview.chromium.org/7530032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95146 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for hotkey to quit chromoting.dmaclach@chromium.org2011-08-024-35/+118
| | | | | | | | | BUG=NONE TEST=Start up chromoting session, try hitting "shift-esc" on host to quit the session. Review URL: http://codereview.chromium.org/7466041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95084 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing virtual qualifiers to appease clang.wez@chromium.org2011-08-021-4/+4
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7553004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95039 0039d316-1c4b-4281-b951-d872f2087c98
* Separate channel authentication code from JingleStreamConnecter.sergeyu@chromium.org2011-08-025-167/+339
| | | | | | | | | | | | The new ChannelAuthenticator will also be used for pepper-based protocol implementation. BUG=51198 TEST=Unittests Review URL: http://codereview.chromium.org/7537036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95030 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up window not closing on Mac.dmaclach@chromium.org2011-08-022-32/+14
| | | | | | | | | | | | | Xib changes -> Went from NSPanel to NSWindow BUG=90997 TEST=Create a chromoting connection on the mac, and then close it. Check to make sure the host window has gone away. Review URL: http://codereview.chromium.org/7541028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95028 0039d316-1c4b-4281-b951-d872f2087c98
* Send a small empty video packet when capturer returns no dirty recthclam@chromium.org2011-08-011-2/+7
| | | | | | | | | | | | | | This keeps the network active for the video channel, otherwise PseudoTcp will reset the value of congestion window and the next transmission would suck. After this change chromoting from a remote site with 100+ ms latency works way better. BUG=None TEST=None Review URL: http://codereview.chromium.org/7544020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94972 0039d316-1c4b-4281-b951-d872f2087c98
* Optimize mac capturer to copy memory only dirty rect.hclam@chromium.org2011-08-013-13/+81
| | | | | | | | | | | | | | | | | | | | | | | | This optimization shave a lot of memory copies when there are small changes on the screen. On the computer I tested capturer nows run with 9ms when before was 20ms. This however increases capture time when more than half of the screen is changing or the dirty rects overlap. There are several further optimiations can be done: 1. Merge dirty rects so that they don't overlap. 2. Subtract current dirty rects from last dirty rects. If the above two are implemented we can then shave copying in OpenGL. This can be done by grouping rectangles and download them as a bulk, this can bring capture time to be less than 5ms. Overall this patch shaves 11ms, about 20% of latency on the mac host I uses. BUG=91201 TEST=Mac capturer runs faster Review URL: http://codereview.chromium.org/7540024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94964 0039d316-1c4b-4281-b951-d872f2087c98
* If pepper flush returns an error then save a pending flushhclam@chromium.org2011-08-012-8/+33
| | | | | | | | | | | | | If there is already a flush in progress then flush will return an error. Save a flag so that when the last flush completes the client plugin will flush again. BUG=80000 TEST=chromoting client renders correctly Review URL: http://codereview.chromium.org/7518024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94961 0039d316-1c4b-4281-b951-d872f2087c98
* Increase PseudoTcp receive and send window sizeshclam@chromium.org2011-07-301-0/+7
| | | | | | | | | | | | Increase the sizes of these two values so that we can cope with high latency network. BUG=91011 TEST=None Review URL: http://codereview.chromium.org/7539006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94850 0039d316-1c4b-4281-b951-d872f2087c98
* Add WARN_UNUSED_RESULT to crypto/hmac.hrsleevi@chromium.org2011-07-302-20/+23
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7522014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94826 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leaks in remoting_unittests.sergeyu@chromium.org2011-07-307-34/+43
| | | | | | | | | | | | | After 94766 CHormotingHostTest started leaking Task objects. Fixing it by using base::Closure instead. BUG=None TEST=No valgrind errors remoting_unittests Review URL: http://codereview.chromium.org/7540008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94813 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a flake in ConnectBadChannelAuth.wez@chromium.org2011-07-291-6/+12
| | | | | | | | | BUG=88130,90961 TEST=remoting_unittests don't fail under ThreadSanitizer. Review URL: http://codereview.chromium.org/7532036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94778 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use base::OneShotTimer on plugin main thread.sergeyu@chromium.org2011-07-295-34/+58
| | | | | | | | | BUG=90785 TEST=plugin doesn't crash Review URL: http://codereview.chromium.org/7538002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94766 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable use of TLS False Start on stream channels.wez@chromium.org2011-07-291-5/+0
| | | | | | | | | | | Requires r94105 to work. BUG= TEST=remoting_unittests Review URL: http://codereview.chromium.org/7493071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94751 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crashes when shutting down DesktopEnvironmentsergeyu@chromium.org2011-07-298-60/+146
| | | | | | | | | BUG=90602,90108 TEST=Host plugin doesn't crash. Review URL: http://codereview.chromium.org/7514031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94614 0039d316-1c4b-4281-b951-d872f2087c98
* Add an authentication step to stream channel setup in JingleStreamConnector.wez@chromium.org2011-07-2914-62/+338
| | | | | | | | | | | | | Fix JingleStreamConnector and JingleDatagramConnector tear-down semantics in case of failure. BUG=88130,90624 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94247 Review URL: http://codereview.chromium.org/7501007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94610 0039d316-1c4b-4281-b951-d872f2087c98
* Deal with disconnection initiated from the Host.lambroslambrou@google.com2011-07-292-8/+21
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7493068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94602 0039d316-1c4b-4281-b951-d872f2087c98
* Show transitional UI on session disconnect.lambroslambrou@google.com2011-07-282-7/+16
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7531015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94576 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaned up modal UI show/hide logic.jamiewalch@google.com2011-07-283-158/+106
| | | | | | | | | BUG=90104 TEST=Manual Review URL: http://codereview.chromium.org/7523035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94546 0039d316-1c4b-4281-b951-d872f2087c98
* Reenable JingleSessionTest.TestSpeed.sergeyu@chromium.org2011-07-281-1/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7300014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94540 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed client state change bug.jamiewalch@google.com2011-07-281-1/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7522029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94513 0039d316-1c4b-4281-b951-d872f2087c98