summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* base::Bind: Remove Task.jhawkins@chromium.org2012-01-053-79/+28
| | | | | | | | | | BUG=none TEST=none R=awong Review URL: http://codereview.chromium.org/9086002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116439 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 116281 - Move paint aggregator and the completion callback factory.brettw@chromium.org2012-01-041-1/+1
| | | | | | | | | | | Move paint aggregator and the completion callback factory to the ppapi/helpers directory since they're not strictly wrappers. Review URL: http://codereview.chromium.org/9030001 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/9086003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116284 0039d316-1c4b-4281-b951-d872f2087c98
* Move paint aggregator and the completion callback factory.brettw@chromium.org2012-01-041-1/+1
| | | | | | | | Move paint aggregator and the completion callback factory to the ppapi/helpers directory since they're not strictly wrappers. Review URL: http://codereview.chromium.org/9030001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116281 0039d316-1c4b-4281-b951-d872f2087c98
* Used MessageLoopProxy instead of MessageLoop in RectangleUpdateDecoder.sanjeevr@chromium.org2012-01-044-20/+23
| | | | | | | | | | BUG=NONE TEST=Chromoting client Review URL: http://codereview.chromium.org/9049011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116279 0039d316-1c4b-4281-b951-d872f2087c98
* Move signaling connection creation out of ChromotingHost.sergeyu@chromium.org2012-01-0419-396/+361
| | | | | | | | | | | | | Also removed signaling-related events from ChromotingHostObserver interface and changes host observers to listen for notifications from SignalStrategy directly. BUG=107276 Review URL: http://codereview.chromium.org/9004050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116256 0039d316-1c4b-4281-b951-d872f2087c98
* And now NewRunnableMethod(), you die.ajwong@chromium.org2012-01-041-3/+1
| | | | | | | | | | | Kill off NewRunnableMethod() and remove silly declarations of unused ScopedRunnableMethodFactory(s). BUG=none TEST=existing. Review URL: http://codereview.chromium.org/9034032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116250 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the ChromotingView unit-tests, which no longer make sense.wez@chromium.org2012-01-032-562/+1
| | | | | | | | | | | Unit-tests for the Session, ChromotingClient and related components should replace these tests. BUG=57351 Review URL: http://codereview.chromium.org/9014013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116217 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Remove ScopedRunnableMethodFactory.jhawkins@chromium.org2012-01-033-10/+7
| | | | | | | | | | BUG=none TEST=none R=groby,awong,csilv Review URL: http://codereview.chromium.org/9071001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116198 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor SignalStrategy so that it can be reused for multiple connections.sergeyu@chromium.org2012-01-0339-285/+334
| | | | | | | | | | | Also updated SessionManager implementation so that session managers can be created before signaling is connected. BUG=107276 Review URL: http://codereview.chromium.org/9005034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116192 0039d316-1c4b-4281-b951-d872f2087c98
* Fix client to always handle error messages properly.sergeyu@chromium.org2012-01-032-2/+39
| | | | | | | | | | Changed JingleMessage::IsJingleMessage() to return false for error messages, so that PepperSessionManager doesn't try to handle them. Review URL: http://codereview.chromium.org/8956063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116184 0039d316-1c4b-4281-b951-d872f2087c98
* Fix error handling in hostdir.pysergeyu@chromium.org2012-01-021-5/+5
| | | | | | Review URL: http://codereview.chromium.org/8965079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116106 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old DCHECK from ~PepperStreamChannel().sergeyu@chromium.org2012-01-021-2/+0
| | | | | | | | | | | Now channel_ can be owned by the ChannelAuthenticator, so the assumption verified by this DCHECK is not valid anymore. BUG=105214 Review URL: http://codereview.chromium.org/8989068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116105 0039d316-1c4b-4281-b951-d872f2087c98
* Remove support for the initial-resolution tag in session descriptions.wez@chromium.org2012-01-017-175/+66
| | | | | | | | | TEST=Unit-tests & manual interoperability testing with older versions. Review URL: http://codereview.chromium.org/9021044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116083 0039d316-1c4b-4281-b951-d872f2087c98
* Called Stop in d'tor of of JingleThread.sanjeevr@chromium.org2011-12-301-1/+8
| | | | | | | | | | | | | It is important to call Stop here. If we wait for the base class to call Stop in it's d'tor, then JingleThread::Run() will access member variables that are already gone. See similar comments in base/thread.h. BUG=None TEST=None Review URL: http://codereview.chromium.org/9003011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116018 0039d316-1c4b-4281-b951-d872f2087c98
* Add HybridAuthenticatorFactory.sergeyu@chromium.org2011-12-293-0/+90
| | | | | | | | | BUG=105214 Review URL: http://codereview.chromium.org/8974019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115953 0039d316-1c4b-4281-b951-d872f2087c98
* Fix python syntax error in register_host.py introduced by r111427.sergeyu@chromium.org2011-12-281-1/+1
| | | | | | | | | TBR=maruel@chromium.org TEST=register_host.py works as expected. Review URL: http://codereview.chromium.org/8956058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115903 0039d316-1c4b-4281-b951-d872f2087c98
* Re-instate part of PepperViewProxy as FrameConsumerProxy.wez@chromium.org2011-12-245-1/+140
| | | | | | | | | | | | | CL 8985007 removed PepperViewProxy, which is accessed both for UI and network activity from the Pepper thread. Except when it's accessed from the decoder thread - oops. This CL adds FrameConsumerProxy, which performs the necessary magic for the decode pipeline to access the PepperView's FrameConsumer interface safely. BUG=108490,93552 Review URL: http://codereview.chromium.org/9022024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115745 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit tests for MouseInputFilter and fix bugs in its coordinate scaling.wez@chromium.org2011-12-234-11/+189
| | | | | | | | | BUG=93552 Review URL: http://codereview.chromium.org/8962031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115651 0039d316-1c4b-4281-b951-d872f2087c98
* EKE-based Authenticator implementation.sergeyu@chromium.org2011-12-224-0/+515
| | | | | | | | | BUG=105214 Review URL: http://codereview.chromium.org/8969009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115625 0039d316-1c4b-4281-b951-d872f2087c98
* Set connection type to IT2Me earlier.jamiewalch@google.com2011-12-221-1/+1
| | | | | | | | | | | Otherwise there's no OK button on the error page (Me2Me behaviour). BUG=None TEST=Manual Review URL: http://codereview.chromium.org/9025030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115604 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 'no propagation' bug.jamiewalch@google.com2011-12-221-2/+3
| | | | | | | | | | | | 'return false' is they way of preventing event propagation in HTML. 'preventDefault' is the JS equivalent. Without this, entering an access code causes the form to be 'submitted', which reloads the page. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/9024018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115594 0039d316-1c4b-4281-b951-d872f2087c98
* Fix backward compatibility issue introduced in r115519.sergeyu@chromium.org2011-12-221-2/+2
| | | | | | | | BUG=105214 Review URL: http://codereview.chromium.org/9026015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115584 0039d316-1c4b-4281-b951-d872f2087c98
* Replace V1*ChannelAuthenticator with SslHmacChannelAuthenticator.sergeyu@chromium.org2011-12-2214-434/+584
| | | | | | | | | | | The new class will be used for both V1 and V2 authentication BUG=105214 Review URL: http://codereview.chromium.org/8963005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115519 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring of the client-side input pipeline and scaling dimension management.wez@chromium.org2011-12-2229-792/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main changes are: * Express key-release, mouse coordinate scaling and clamping as InputStubs. * KeyEventTracker handles key release. * MouseInputFilter handles mouse scaling & clamping. * PepperInputHandler converts Pepper events to InputStub events. * Replace scaling ratios with host and view dimensions. This resulted in some related changes * The DecoderVp8 enforces a <=1:1 output-size before converting the frame. * The setScaleToFit() API now has no effect. * ChromotingView has become a pure interface again. Things this CL is currently missing: * Unit-tests for the new components. Future work: * Move the non-Pepper-specific input pipeline components to ChromotingClient. * Rework the decode / convert / scale / render pipeline. BUG=93552 TEST=remoting_unittests, and manual testing. Review URL: http://codereview.chromium.org/8985007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115511 0039d316-1c4b-4281-b951-d872f2087c98
* Restore plugin focus on blur.jamiewalch@google.com2011-12-221-1/+11
| | | | | | | | | BUG=Internal TEST=Manual Review URL: http://codereview.chromium.org/9017040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115466 0039d316-1c4b-4281-b951-d872f2087c98
* Use new-style event listeners.jamiewalch@google.com2011-12-227-65/+139
| | | | | | | | | | | | | This will be necessary in order to use a v2 manifest, but also allows compile-time checks that aren't possible if event handlers are specified in the HTML. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8999003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115459 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix leaks.jhawkins@chromium.org2011-12-211-4/+3
| | | | | | | | | | | | CID=2168,8197,8198,100251,100256,100820,101011,101982,101983,101984,101988, 102256 BUG=none TEST=none R=dpapad Review URL: http://codereview.chromium.org/8989036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115422 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Finish converting net/socket.jhawkins@chromium.org2011-12-212-8/+6
| | | | | | | | | | BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/9008004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115405 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Remove includes of base.bind in header files.jhawkins@chromium.org2011-12-212-1/+3
| | | | | | | | | | BUG=none TEST=none R=ajwong Review URL: http://codereview.chromium.org/8956019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115398 0039d316-1c4b-4281-b951-d872f2087c98
* Use Open Sans instead of Droid Sans.jamiewalch@chromium.org2011-12-212-2/+2
| | | | | | | | | | BUG=108253 TEST=Manual Review URL: http://codereview.chromium.org/9017002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115380 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-12-211-1/+2
| | | | | | | | | | | | | CID=6462,16392,16996,17268,100987,101018,102401,102417,102476,102484,102513 102546,102552,102567,102617,102674,102677,102678,102679,102681,102685, 102714,102750,102751,102781 BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/9005015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115234 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 115227 - Coverity: Initialize member variables.jhawkins@chromium.org2011-12-211-2/+1
| | | | | | | | | | | | | | | | CID=6462,16392,16996,17268,100987,101018,102401,102417,102476,102484,102513 102546,102552,102567,102617,102674,102677,102678,102679,102681,102685, 102714,102750,102751,102781 BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/9005015 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/8965062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115228 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-12-201-1/+2
| | | | | | | | | | | | | CID=6462,16392,16996,17268,100987,101018,102401,102417,102476,102484,102513 102546,102552,102567,102617,102674,102677,102678,102679,102681,102685, 102714,102750,102751,102781 BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/9005015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115227 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-12-202-0/+3
| | | | | | | | | | | | | CID=100356,100360,100368,100373,100374,100562,101529,101530,101536,101541, 101542,101595,101630,101685,101687,101689,101776,101812,101813,101854, 101861,101862,101871,101883,101886,101887,102034 BUG=none TEST=none R=binji Review URL: http://codereview.chromium.org/8965054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115225 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup JingleInfoRequest on JingleSessionManager::Closeamit@chromium.org2011-12-201-0/+1
| | | | | | | | | | | | | | | If NAT traversal is turned on then JingleInfoRequest adds itself as a listener to the signal strategy. Delete the request in SessionManager::Close so that it removes itself as a listener and signal strategy can be cleaned up. BUG=108212 TEST=none Review URL: http://codereview.chromium.org/9004024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115210 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaned up NAT traversal warning.jamiewalch@google.com2011-12-202-13/+26
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8992031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115156 0039d316-1c4b-4281-b951-d872f2087c98
* Remoting client rectangle decoder and VP8 decoder fixes.wez@chromium.org2011-12-205-80/+80
| | | | | | | | | | | These are required to avoid artefacts when linear scaling is implemented. BUG=93451 Review URL: http://codereview.chromium.org/8745008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115088 0039d316-1c4b-4281-b951-d872f2087c98
* Convert all of remoting/* to base::Bind().ajwong@chromium.org2011-12-2024-62/+48
| | | | | | | | | | | | Removing base/task.h also. BUG=none TEST=existing. Review URL: http://codereview.chromium.org/8994015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115074 0039d316-1c4b-4281-b951-d872f2087c98
* Daemonize the Virtual Me2Me script, and implement simple PID-file checking.lambroslambrou@google.com2011-12-191-23/+200
| | | | | | | | | BUG=107796 TEST=Manual Review URL: http://codereview.chromium.org/8949024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115021 0039d316-1c4b-4281-b951-d872f2087c98
* Open Me2Me hosts in the same tab.jamiewalch@google.com2011-12-171-2/+2
| | | | | | | | | BUG=107886 TEST=Manual Review URL: http://codereview.chromium.org/8985005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114892 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using macros with space in them.maruel@chromium.org2011-12-164-7/+32
| | | | | | | | | | | | | | msbuild (VS2010) incorrectly mangles the command line for rc.exe when there is space in the defines; it double quotes it incorrectly. e.g. FOO="foo bar" becomes; rc.exe /D "FOO="foo bar"" Note that VS2008 and cl.exe command line on msbuild are not affected. BUG=107652 TEST= Review URL: http://codereview.chromium.org/8954002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114851 0039d316-1c4b-4281-b951-d872f2087c98
* The chromoting client logs the session duration to the server.simonmorris@chromium.org2011-12-162-7/+57
| | | | | | | | | BUG=106208 TEST=none Review URL: http://codereview.chromium.org/8957014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114818 0039d316-1c4b-4281-b951-d872f2087c98
* Show an appropriate message if the chromoting service returns a 503 error.simonmorris@chromium.org2011-12-164-1/+10
| | | | | | | | | BUG=96779 TEST=none Review URL: http://codereview.chromium.org/8953005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114815 0039d316-1c4b-4281-b951-d872f2087c98
* Use XDamage in Virtual Me2Me.lambroslambrou@chromium.org2011-12-153-3/+29
| | | | | | | | | | BUG=107470 TEST=Check output log, and compare CPU usage with the non-XDamage case. Review URL: http://codereview.chromium.org/8937019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114535 0039d316-1c4b-4281-b951-d872f2087c98
* Implement multi-step auth support in PepperSession.sergeyu@chromium.org2011-12-1411-42/+464
| | | | | | | | | | | Also added unittests for PepperSession. BUG=105214 Review URL: http://codereview.chromium.org/8827001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114318 0039d316-1c4b-4281-b951-d872f2087c98
* Fix valgrind warning in remoting_unittests due to uninitialized memory.sergeyu@chromium.org2011-12-131-1/+6
| | | | | | Review URL: http://codereview.chromium.org/8930016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114278 0039d316-1c4b-4281-b951-d872f2087c98
* Add command-line option for Virtual Me2Me to set the desktop size.lambroslambrou@google.com2011-12-131-6/+31
| | | | | | | | | BUG=106932 TEST=Manual Review URL: http://codereview.chromium.org/8885030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114274 0039d316-1c4b-4281-b951-d872f2087c98
* Virtual Me2Me: Redirect stdin of Xsession to /dev/null.lambroslambrou@google.com2011-12-131-0/+6
| | | | | | | | | | | | This fixes the problem of the Me2Me process being stopped when running as a shell background job. BUG=106935 TEST=Follow repro steps Review URL: http://codereview.chromium.org/8899011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114238 0039d316-1c4b-4281-b951-d872f2087c98
* Multi-step authentication support in JingleSession.sergeyu@chromium.org2011-12-138-38/+142
| | | | | | | | | BUG=105214 Review URL: http://codereview.chromium.org/8774031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114187 0039d316-1c4b-4281-b951-d872f2087c98
* Separate Authenticator and Session unittests.sergeyu@chromium.org2011-12-1316-704/+946
| | | | | | | | | | | | | | | Previously JingleSession unit tests were using real authenticators. Here I changed them to always use FakeAuthenticator and added new tests for channel authentication in v1_authenticator_unittest.cc . Also, to make new tests pass, fixed session-terminate message handling in JingleSession to return correct error code. BUG=105214 Review URL: http://codereview.chromium.org/8743023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114178 0039d316-1c4b-4281-b951-d872f2087c98