summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* base::Bind: Convert Socket::Read.jhawkins@chromium.org2011-12-076-21/+128
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8801005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113326 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert StreamSocket::Connect.jhawkins@chromium.org2011-12-066-14/+57
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8801004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113283 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Remove content/ CrApplication.shess@chromium.org2011-12-062-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Pull the CrAppProtocol autorelease-pool handling down into MessagePumpCrApplication, which is selected at Create() if NSApp implements the right protocol. UsingCrApp() allows clients to confirm the correct setup (unfortunately, synchronizing NSApp initialization and MessagePump::Create() would be intrusive). Also push CrAppProtocol and CrAppControlProtocol implementation into BrowserCrApplication, and reparent that class from NSApplication. Reparent ServiceCrApplication on NSApplication and rename. Remove CrApplication registration from gpu, plugin, and renderer mains. Remove MockCrApp dependency from remoting sample code. BUG=102224 Review URL: http://codereview.chromium.org/8771028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113281 0039d316-1c4b-4281-b951-d872f2087c98
* Add AUTHENTICATED session state.sergeyu@chromium.org2011-12-0611-56/+76
| | | | | | | | | | | Also removed AUTHENTICATED state from ConnectionToHost - We no longer need it there. BUG=105214 Review URL: http://codereview.chromium.org/8774017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113146 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle to 98:99. tommi@chromium.org2011-12-061-1/+1
| | | | | | | | | | | | | | | | - Refactoring and bug fixes - Remove global variables of class type. NOTE: I'm landing this for Ronghua since he's on leave. The change has already been reviewed here: http://codereview.chromium.org/8790011/ but I had to create a new issue in order to resolve merge conflicts. TBR=sergeyu Review URL: http://codereview.chromium.org/8802019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113086 0039d316-1c4b-4281-b951-d872f2087c98
* Implement RSAPrivateKey::Copy()sergeyu@chromium.org2011-12-032-14/+8
| | | | | | | | BUG=105220 Review URL: http://codereview.chromium.org/8727014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112837 0039d316-1c4b-4281-b951-d872f2087c98
* New-style Disconnect window for Linux Chromoting host.lambroslambrou@chromium.org2011-12-031-38/+189
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8733014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112831 0039d316-1c4b-4281-b951-d872f2087c98
* The chromoting client logs a session-close that wassimonmorris@chromium.org2011-12-021-0/+5
| | | | | | | | | | initiated by the client itself. BUG=106208 Review URL: http://codereview.chromium.org/8772065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112819 0039d316-1c4b-4281-b951-d872f2087c98
* The webapp uses localStorage to decide whether logging to the serversimonmorris@chromium.org2011-12-023-4/+90
| | | | | | | | | | is enabled, and for a pseudonymous ID to attach to logged events. BUG=106208 Review URL: http://codereview.chromium.org/8775066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112811 0039d316-1c4b-4281-b951-d872f2087c98
* Fix tool-bar auto-hide behaviour.jamiewalch@chromium.org2011-12-026-23/+147
| | | | | | | | | | BUG=105797 TEST=Manual Review URL: http://codereview.chromium.org/8676049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112795 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race condition disconnecting hosts.jamiewalch@chromium.org2011-12-025-24/+14
| | | | | | | | | | | | Also, remove a couple of unused functions and rename some to be more meaningful following the recent refactoring. BUG=102441 TEST=Manual Review URL: http://codereview.chromium.org/8775021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112762 0039d316-1c4b-4281-b951-d872f2087c98
* Set empty shared secret for Me2Me hosts.lambroslambrou@chromium.org2011-12-014-4/+43
| | | | | | | | | | BUG=105214,105995 TEST=Me2Me works Review URL: http://codereview.chromium.org/8764012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112577 0039d316-1c4b-4281-b951-d872f2087c98
* Launch Me2Me connections in a new tab. Remove OK button from post-connect ↵jamiewalch@chromium.org2011-12-018-34/+109
| | | | | | | | | | | | screens for Me2Me. BUG=105954 TEST=Manual Review URL: http://codereview.chromium.org/8758001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112511 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor IT2Me-specific functions into a HostObserver subclass.lambroslambrou@chromium.org2011-12-0111-427/+381
| | | | | | | | | | | | | | | This also removes the curtain-mode hooks from DesktopEnvironment and ChromotingHost. Me2Me hosts will no longer show the Disconnect or Continue windows. It2Me hosts should be unaffected, except for the removal of curtain-mode (which will be added back in a later CL). BUG=104377 TEST=Manual and unittests Review URL: http://codereview.chromium.org/8725016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112392 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up some indentation and explicits that got missed in code review.wez@chromium.org2011-11-301-8/+9
| | | | | | Review URL: http://codereview.chromium.org/8741028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112331 0039d316-1c4b-4281-b951-d872f2087c98
* revert remoting part of 112252garykac@chromium.org2011-11-302-40/+11
| | | | | | | | | BUG=105934 TEST=make Review URL: http://codereview.chromium.org/8749018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112287 0039d316-1c4b-4281-b951-d872f2087c98
* Setup JS unittests for Chromotinggarykac@chromium.org2011-11-303-16/+69
| | | | | | | | | | BUG=none TEST=remoting_unittests --gtest_filter=DebugLogUnitTest.* Review URL: http://codereview.chromium.org/8599010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112252 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak in remoting_unittests caused by crrev.com/112127sergeyu@chromium.org2011-11-303-2/+4
| | | | | | | | | TBR=wez@chromium.org BUG=105214 Review URL: http://codereview.chromium.org/8746008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112154 0039d316-1c4b-4281-b951-d872f2087c98
* Always generate host secrets of correct length.sergeyu@chromium.org2011-11-301-4/+11
| | | | | | | | | | BUG=105798 TEST=Access code is always 12 digits long. Review URL: http://codereview.chromium.org/8734012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112137 0039d316-1c4b-4281-b951-d872f2087c98
* Use Authenticator interface in Session and SessionManager.sergeyu@chromium.org2011-11-3020-503/+425
| | | | | | | | BUG=105214 Review URL: http://codereview.chromium.org/8619011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112127 0039d316-1c4b-4281-b951-d872f2087c98
* Fix token refresh closure.jamiewalch@google.com2011-11-291-1/+5
| | | | | | | | | BUG=105752 TEST=Manual Review URL: http://codereview.chromium.org/8728037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112010 0039d316-1c4b-4281-b951-d872f2087c98
* Remove AccessVerifier interface.sergeyu@chromium.org2011-11-2928-423/+119
| | | | | | | | | | | | | | | | | AccessVerifier will be replaced with the new protocol::Authenticator interface. This also changes behavior of Session interface when session is rejected due to bad auth: now the session is first accepted by ChromotingHost but then goes to FAILED state with the new AUTHENTICATION_FAILED error. Temporarily auth token is verified in JingleSession::AcceptConnection(). Later Authenticator implementation will be used instead. BUG=105214 Review URL: http://codereview.chromium.org/8662001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112009 0039d316-1c4b-4281-b951-d872f2087c98
* Remove JingleSessionManager::set_allow_local_ips().sergeyu@chromium.org2011-11-294-15/+2
| | | | | | | | | Currently allow_local_ips is always set to true, and there is no reason not to allow local IP addresses. Review URL: http://codereview.chromium.org/8728011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111973 0039d316-1c4b-4281-b951-d872f2087c98
* Use callback_forward.h instead of callback.h where possible.erikwright@chromium.org2011-11-294-5/+3
| | | | | | | | | | | | | | | callback_forward.h will be committed separately, before this commit, and is included here only to assist in running try jobs. It will be removed before the final commit. You are asked to review this as you have OWNERS for these files. BUG=None TEST=Compiles R=ajwong@chromium.org Review URL: http://codereview.chromium.org/8697005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111947 0039d316-1c4b-4281-b951-d872f2087c98
* Don't delete channels in JingleSession::CloseInternal().sergeyu@chromium.org2011-11-292-4/+3
| | | | | | | | | | | | | Channel creators should be destroyed using CancelChannelCreation(). Previously the code was crashing in CancelChannelCreation() when trying to delete an object that has already been deleted. BUG=105035 Review URL: http://codereview.chromium.org/8726018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111866 0039d316-1c4b-4281-b951-d872f2087c98
* Don't toggle the debug log when editing text.jamiewalch@chromium.org2011-11-262-1/+6
| | | | | | | | | | | | Also, fix up a (benign) JSCompiler error. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8672008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111639 0039d316-1c4b-4281-b951-d872f2087c98
* Update short URL.jamiewalch@chromium.org2011-11-241-1/+1
| | | | | | | | | | BUG=100237 TEST=Manual Review URL: http://codereview.chromium.org/8678034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111550 0039d316-1c4b-4281-b951-d872f2087c98
* Don't update jabberId when renaming a host.sergeyu@chromium.org2011-11-241-1/+5
| | | | | | | | | | | Previous the webapp specified jabberId in the update request when a host is rename. To the directory this looks as updated jabberId, and so the status is set to ONLINE. Another problem was that update request was also setting the status field, but it shouldn't. Review URL: http://codereview.chromium.org/8679017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111469 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor ContinueWindow::Show() to accept a callback parameter.lambroslambrou@chromium.org2011-11-237-34/+67
| | | | | | | | | | | | | | | | | | This gets rid of the DesktopEnvironment::OnPause() notification from the Host. Instead, that code is moved to DesktopEnvironment::ContinueSession() and provided as a callback function parameter to ContinueWindow::Show(). This will simplify a future CL to move the ContinueWindow/DisconnectWindow code into an IT2Me-specific HostObserver subclass. BUG=None TEST=No change in functionality. Review URL: http://codereview.chromium.org/8624009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111443 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed slowdown due to local input monitoring.jamiewalch@chromium.org2011-11-231-4/+7
| | | | | | | | | | BUG=105070 TEST=Manual Review URL: http://codereview.chromium.org/8670005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111439 0039d316-1c4b-4281-b951-d872f2087c98
* Fix many* python scripts in src/maruel@chromium.org2011-11-236-173/+201
| | | | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. * Do not fix them all at once otherwise the CL would be too large. TBR=jamiewalch@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8665013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111427 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to remoting/.avi@chromium.org2011-11-231-1/+2
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8662023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111414 0039d316-1c4b-4281-b951-d872f2087c98
* Add implementation for current IT2Me auth.sergeyu@chromium.org2011-11-235-5/+399
| | | | | | | | | | The new SimpleClientAuthenticator and SimpleHostAuthenticator implement the current IT2Me authentication mechanism. Review URL: http://codereview.chromium.org/8647001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111321 0039d316-1c4b-4281-b951-d872f2087c98
* Center the disconnect window at the bottom of the screen.jamiewalch@chromium.org2011-11-231-0/+7
| | | | | | | | | | BUG=101178 TEST=Manual Review URL: http://codereview.chromium.org/8623006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111317 0039d316-1c4b-4281-b951-d872f2087c98
* Move SSL layer initialization into ChannelAuthenticator implementations.sergeyu@chromium.org2011-11-2321-579/+544
| | | | | | | | Also separate client and host authenticators into separate files. Review URL: http://codereview.chromium.org/8604001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111311 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leaks from a unit test added in r111239.dhollowa@chromium.org2011-11-231-3/+9
| | | | | | | | | R=sergeyu CC=chromoting,dhollowa Review URL: http://codereview.chromium.org/8669007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111309 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the edit box, even if no change is made to the host name.jamiewalch@chromium.org2011-11-231-2/+1
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8624006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111294 0039d316-1c4b-4281-b951-d872f2087c98
* The host sends simple log entries to the server.simonmorris@chromium.org2011-11-2210-3/+530
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8468015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111239 0039d316-1c4b-4281-b951-d872f2087c98
* Add 'set noparent' in remoting/OWNERS.sergeyu@chromium.org2011-11-221-0/+1
| | | | | | Review URL: http://codereview.chromium.org/8618003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111053 0039d316-1c4b-4281-b951-d872f2087c98
* Remove event_channel() and control_channel() from Session interface.sergeyu@chromium.org2011-11-2234-314/+272
| | | | | | | | Now all channels are created using CreateStreamChannel() as they should be! Review URL: http://codereview.chromium.org/8587053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111045 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up client state callback.jamiewalch@google.com2011-11-216-72/+77
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8573024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111036 0039d316-1c4b-4281-b951-d872f2087c98
* Callback API Change: Reimplement Bind(); support IgnoreResult, full ↵ajwong@chromium.org2011-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | currying, and use less types. The main API change IgnoreResult() and fully currying. See unittest for what the new API looks like. The rest of the changes are done to support that. Previously, IgnoreReturn could not be used with WeakPtr<> Bind()s as it was applied after the fact to the Callback object. Now, IgnoreResult() wraps the function like Unretained(). As an incidental benefit, the new implementation gave us fully currying for free. Also, the new implementation scales better when supporting higher arities of functions. The new type growth is: (n^2 + 20n) / 2 as opposed to (3n^2 + 17n) / 2 where n == arity. For n = 6 and n=10, the new implementation has 81 and 155 templates respectively. The old implementation had 105 and 235 templates respectively. BUG=35233,98919,98542 TEST=existing unittests Review URL: http://codereview.chromium.org/8483003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110975 0039d316-1c4b-4281-b951-d872f2087c98
* Implement rename and delete.jamiewalch@google.com2011-11-2111-254/+495
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8587050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110962 0039d316-1c4b-4281-b951-d872f2087c98
* Disable logging from the chromoting client to the server.simonmorris@chromium.org2011-11-211-0/+4
| | | | | | | | R=jamiewalch@chromium.org Review URL: http://codereview.chromium.org/8558034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110956 0039d316-1c4b-4281-b951-d872f2087c98
* Call plugin.onIq() only when onIq is not null.sergeyu@chromium.org2011-11-211-1/+9
| | | | | | Review URL: http://codereview.chromium.org/8568031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110896 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to remoting/.avi@chromium.org2011-11-1922-98/+110
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8601011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110791 0039d316-1c4b-4281-b951-d872f2087c98
* Remove chromotocol_test_clientsergeyu@chromium.org2011-11-182-382/+0
| | | | | | Review URL: http://codereview.chromium.org/8549007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110666 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Update logIq to handle messages to bots.garykac@chromium.org2011-11-181-75/+221
| | | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/8528048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110653 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor client channel dispatchers.sergeyu@chromium.org2011-11-1813-346/+226
| | | | | | | | | | The new ClientControlDispatcher and ClientEventDispatcher manage control and event channels. Review URL: http://codereview.chromium.org/8574025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110648 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove forward declarations in various directories.thestig@chromium.org2011-11-182-9/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8567022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110631 0039d316-1c4b-4281-b951-d872f2087c98