summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Cull unnecessary media::VideoFrame::Formats from the enum.fischman@chromium.org2012-04-117-171/+8
| | | | | | | | | | | | This removes the easy ones: RGB555, RGB565, RGB24, RGBA, NV12, and ASCII. BUG=108306 TEST=videotestmatrix is still as happy as it was. Review URL: http://codereview.chromium.org/10024072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131682 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the base::JSONReader interface to take a set of options rather than a ↵rsesek@chromium.org2012-04-116-7/+13
| | | | | | | | | | | | | | boolean flag. This is just prep work for a large CL that rewrites the JSON parser. Splitting out this interface change will make it easier to review the other CL. BUG=121469 TEST=No functional change. Review URL: https://chromiumcodereview.appspot.com/9960077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131680 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the USB keycode field name in injectKeyEvent API.wez@chromium.org2012-04-102-2/+2
| | | | | | | | | | BUG=121168 TEST=Web-app's Ctrl-Alt-Del button still works with plugin & web-app patched. Review URL: http://codereview.chromium.org/10026008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131669 0039d316-1c4b-4281-b951-d872f2087c98
* Test type of daemonState (there will be no exception accessing a missing ↵jamiewalch@google.com2012-04-101-3/+4
| | | | | | | | | | | property) BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10031037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131607 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented on-demand installation of the Chromoting Host on Windows.alexeypa@chromium.org2012-04-105-23/+516
| | | | | | | | | | This CL also updates the Google Update interface definition file with v3 interfaces. BUG=120991 Review URL: http://codereview.chromium.org/10021003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131587 0039d316-1c4b-4281-b951-d872f2087c98
* Fix stop/start button state and host name.jamiewalch@google.com2012-04-103-6/+47
| | | | | | | | | BUG=121148 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10018002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131568 0039d316-1c4b-4281-b951-d872f2087c98
* Use ScopedRefNPObject to pass NPObjects in the host plugin.sergeyu@chromium.org2012-04-094-39/+36
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10024025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131489 0039d316-1c4b-4281-b951-d872f2087c98
* Check host_ is not NULL in isRToL.jamiewalch@google.com2012-04-091-1/+5
| | | | | | | | | BUG=122400 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9967006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131444 0039d316-1c4b-4281-b951-d872f2087c98
* Remove uninstaller (accidentally got merged with previous cl).garykac@chromium.org2012-04-097-1200/+0
| | | | | | | It'll be added in a following cl. Review URL: https://chromiumcodereview.appspot.com/10008010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131426 0039d316-1c4b-4281-b951-d872f2087c98
* Initial version of the Chromoting installer for Mac.garykac@chromium.org2012-04-0918-0/+2882
| | | | | | | | | | This must be built manually (run build.sh) and isn't integrated into the gyp build system yet. It also requires that you have Iceberg installed on your local machine. Review URL: https://chromiumcodereview.appspot.com/9958083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131416 0039d316-1c4b-4281-b951-d872f2087c98
* Add config validation for updateDaemonConfig() method.sergeyu@chromium.org2012-04-093-21/+33
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10024004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131411 0039d316-1c4b-4281-b951-d872f2087c98
* Add IsKeyPressed() and PressedKeyCount() methods to InputEventTracker.wez@chromium.org2012-04-093-62/+89
| | | | | | | | | | | | | These will be used to detect when Ctrl-Alt-Del has been injected by a client. This CL also changes the tracker to only track VKEY codes for events with no USB keycode. BUG=121995 Review URL: http://codereview.chromium.org/9980017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131410 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Clear all localStorage when the user signs out.simonmorris@chromium.org2012-04-093-4/+6
| | | | | | | | BUG=122091 Review URL: https://chromiumcodereview.appspot.com/10022001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131371 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in the ScreenRecorder.sergeyu@chromium.org2012-04-091-0/+3
| | | | | | | | | | | | | ScreenRecored::DoEncode() didn't check state of the object, and as result sometimes it would try to use data buffers that are already freed. BUG=122394 Review URL: http://codereview.chromium.org/10026006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131333 0039d316-1c4b-4281-b951-d872f2087c98
* Add APIs to the client plugin to re-map and trap key events.wez@chromium.org2012-04-098-2/+324
| | | | | | | | | | | | | Re-mapped events allow keys to be re-mapped by the plugin before being delivered to the host. Trapped events are posted to the web-app in a trappedKeyEvent message, allowing more complex processing to be performed, at the cost of higher input latency. BUG=121787 Review URL: http://codereview.chromium.org/10025001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131321 0039d316-1c4b-4281-b951-d872f2087c98
* Switch PepperView to use asynchronous completion for Flush().wez@chromium.org2012-04-084-51/+25
| | | | | | | | | | | | | PepperView was requesting "optional" synchronous/asynchronous completion from Flush(), so as to be able to handle errors, which was not possible with the CompletionCallbackClosureAdapter, since the closure would not receive the result. This CL replaces CompletionCallbackClosureAdapter with a PpCompletionCallback() function that accepts a base::Callback<void(int)> and returns a pp::CompletionCallback suitable for passing directly to Flush(). PepperView is also updated to use the new helper, and to expect Flush() to always complete asynchronously. TEST=Chromoting client renders correctly. Review URL: http://codereview.chromium.org/10010033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131304 0039d316-1c4b-4281-b951-d872f2087c98
* Implement GetConfig() and UpdateConfig in DaemonControllerLinux.sergeyu@chromium.org2012-04-072-14/+59
| | | | | | | | | BUG=120950 Review URL: http://codereview.chromium.org/10008066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131296 0039d316-1c4b-4281-b951-d872f2087c98
* Don't warn about low-memory when AllocateBuffer sees an empty clip rect.wez@chromium.org2012-04-071-14/+15
| | | | | | | | | | BUG=122486 TEST="Not enough memory for frame buffers" not logged when starting a session to a host. Review URL: http://codereview.chromium.org/10022006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131295 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 131239 - The Chrome Remote Desktop installation for Windows can be ↵alexeypa@chromium.org2012-04-071-17/+17
| | | | | | | | | | build by bots now. TBR=alexeypa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10028001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131292 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup and simplify HostConfig and JsonHostConfig.sergeyu@chromium.org2012-04-0713-138/+109
| | | | | | | | | | | | | | These classes were previously overdesigned. Simplifying them. - Config doesn't need to be ref-counted. - Save() is synchronous now. - Config is NonThreadSafe now. BUG=120950 Review URL: http://codereview.chromium.org/10007048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131288 0039d316-1c4b-4281-b951-d872f2087c98
* Store PIN hash in host config.sergeyu@chromium.org2012-04-074-11/+78
| | | | | | | | | Previously we were storing PINs in plain text which is slightly less secure than storing PIN hashes. Review URL: https://chromiumcodereview.appspot.com/10007049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131257 0039d316-1c4b-4281-b951-d872f2087c98
* The Chrome Remote Desktop installation for Windows can be build by bots now.alexeypa@chromium.org2012-04-071-17/+17
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9980015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131239 0039d316-1c4b-4281-b951-d872f2087c98
* CreateProcessAsUser requires the token handle to have TOKEN_DUPLICATE access.alexeypa@chromium.org2012-04-071-1/+1
| | | | | | Review URL: http://codereview.chromium.org/10023001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131228 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up daemon DOM.jamiewalch@google.com2012-04-063-25/+21
| | | | | | | | | BUG=121148 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10005046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131159 0039d316-1c4b-4281-b951-d872f2087c98
* Move host registration code to the HostController class.sergeyu@chromium.org2012-04-063-181/+134
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10007028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131146 0039d316-1c4b-4281-b951-d872f2087c98
* Trap Ctrl-Alt-Del to inject a Secure Attention Sequence into Windows.wez@chromium.org2012-04-062-15/+34
| | | | | | | | | BUG=120313 Review URL: http://codereview.chromium.org/9995006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131107 0039d316-1c4b-4281-b951-d872f2087c98
* Objects that derive from RefCounted/RefCountedThreadSafe should not have ↵rsleevi@chromium.org2012-04-061-1/+3
| | | | | | | | | | | | public dtors. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/9997007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131088 0039d316-1c4b-4281-b951-d872f2087c98
* Implement write-waits-for-send mode for PseudoTCP and enable it on the host ↵sergeyu@chromium.org2012-04-061-1/+7
| | | | | | | | | | | | | side. In the new send-confirmation mode the PseudoTCP layer will wait until data is sent to remote end before completing each write. This significantly improves latency for remoting on low bandwidth networks. Review URL: http://codereview.chromium.org/9791012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131083 0039d316-1c4b-4281-b951-d872f2087c98
* All classes that directly derive from net::URLRequestContextGetter should ↵rsleevi@chromium.org2012-04-061-1/+2
| | | | | | | | | | | | | | | | | | have "protected" virtual destructors, not "public". By having a public destructor, it becomes possible to stack allocate the derived class. Stack allocating a RCTS is a dangerous behaviour, since there may still be a caller who holds a reference when the object goes out of scope. BUG=none TEST=none Review URL: http://codereview.chromium.org/9958145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131072 0039d316-1c4b-4281-b951-d872f2087c98
* Don't propagate the click event if the user disables the daemon.jamiewalch@google.com2012-04-061-2/+6
| | | | | | | | | BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10009032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131056 0039d316-1c4b-4281-b951-d872f2087c98
* Specify session type when creating relay sessions for chromoting.sergeyu@chromium.org2012-04-061-0/+6
| | | | | | | | BUG=122196 Review URL: https://chromiumcodereview.appspot.com/10006017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131049 0039d316-1c4b-4281-b951-d872f2087c98
* Enable alphanumeric input in fullscreen.jamiewalch@google.com2012-04-052-2/+6
| | | | | | | | | | | | Pass flag to webkitRequestFullScreen to enable alphanumeric keyboard input in fullscreen. (Without the flag, only control keys are enabled.) BUG=121522 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10010025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131043 0039d316-1c4b-4281-b951-d872f2087c98
* Objects that derive from RefCounted should not have public dtorsrsleevi@chromium.org2012-04-051-0/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/10009002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131026 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up the EventExecutor implementations.wez@chromium.org2012-04-054-154/+141
| | | | | | | | | | | | | | * Cope better with malformed input. * Make logging more uniform across platforms. * Make the implementations more consistent looking. BUG=118513 TEST=Manually verify that input events behave as expected. Review URL: http://codereview.chromium.org/9968108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130997 0039d316-1c4b-4281-b951-d872f2087c98
* Show the cached host list when loaded, until the fresh list arrives.wez@chromium.org2012-04-051-0/+1
| | | | | | | | | BUG=121775 TEST=Load web-app to fetch host list. Disconnect client network. Load web-app again, and verify that a host list is displayed. Review URL: https://chromiumcodereview.appspot.com/9990013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130939 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Stop the user typing non-digits when setting the daemon PIN.simonmorris@chromium.org2012-04-051-0/+8
| | | | | | | | BUG=121516 Review URL: https://chromiumcodereview.appspot.com/9939016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130935 0039d316-1c4b-4281-b951-d872f2087c98
* Rename DaemonPlugin class to HostController.sergeyu@chromium.org2012-04-056-57/+58
| | | | | | Review URL: http://codereview.chromium.org/9998003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130854 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up remoting/remoting.gyp:alexeypa@chromium.org2012-04-056-17/+35
| | | | | | | | | | 1. The .IDL files should be compiled as part of a static library target to avoid translating the same IDL several times. This will also make ninja guys happier. :-) 2. The files created in the shared intermediate directory should mirror the folder structure under src. Review URL: http://codereview.chromium.org/9960031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130830 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting Me2Me installation flow for Mac.lambroslambrou@chromium.org2012-04-056-22/+89
| | | | | | | | | BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9979023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130800 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Require that the daemon PIN consists of 6 or more digits.simonmorris@chromium.org2012-04-052-5/+40
| | | | | | | | BUG=121516 Review URL: https://chromiumcodereview.appspot.com/9939013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130786 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TOOLKIT_USES_GTK and consolidate it into TOOLKIT_GTKoshima@chromium.org2012-04-052-6/+6
| | | | | | | | | | | Add gtk dependency to base.gyp for android host_os="linux" case BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9969080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130784 0039d316-1c4b-4281-b951-d872f2087c98
* Unregister host on stop.jamiewalch@google.com2012-04-043-2/+22
| | | | | | | | | BUG=121146 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9950138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130775 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Compare the two daemon PINs specified by the user at daemon ↵simonmorris@chromium.org2012-04-043-3/+25
| | | | | | | | | | | | install time. This is a follow-up to codereview.chromium.org/9981008. BUG=121516 Review URL: https://chromiumcodereview.appspot.com/9982016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130748 0039d316-1c4b-4281-b951-d872f2087c98
* Moved special-case handling of 'home' mode.jamiewalch@google.com2012-04-043-32/+29
| | | | | | | | | | | | | This was causing the host list to be reloaded when the confirmation dialog was dismissed, which was often too fast for the delete to have been committed in the directory. BUG=121013 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9947004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130734 0039d316-1c4b-4281-b951-d872f2087c98
* ScopedProcessInformation protects against process/thread handle leaks from ↵erikwright@chromium.org2012-04-041-4/+4
| | | | | | | | | | | | | | | | | CreateProcess calls. This CL includes the definition of the class along with changes to clients of CreateProcess. Please see http://codereview.chromium.org/9959018/ for the most substantial usages I propose introducing. This was motivated by realizing that my previous fix to LaunchProcess actually still had a leak of the thread handle. BUG=None TEST=tests added in base_unittests Review URL: https://chromiumcodereview.appspot.com/9700038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130710 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Let the client plugin pass clipboard items to the host.simonmorris@chromium.org2012-04-046-2/+83
| | | | | | | | BUG=117473 Review URL: https://chromiumcodereview.appspot.com/9958015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130683 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Improve the PIN entry part of the host setup dialog.simonmorris@chromium.org2012-04-042-4/+14
| | | | | | | | | | | | | | | - Sets focus to the first PIN text widget. - On ENTER, moves focus to the second PIN text widget. - Clears PIN text widgets before starting the flow. - Fixes a minor HTML typo. A follow-up CL will compare the values of the two PIN text widgets. BUG=121516 Review URL: https://chromiumcodereview.appspot.com/9981008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130679 0039d316-1c4b-4281-b951-d872f2087c98
* Add a button to the web-app to send Ctrl-Alt-Delete to the host.wez@chromium.org2012-04-045-0/+58
| | | | | | | | | | | | | The button will only be displayed if the client browser supports injectKey(). Detecting and handling Ctrl-Alt-Del in hosts will be implemented separately. BUG=120313 TEST=Manually verify (e.g. using xev on a Linux host) that using the button injects the correct events, or verify that using the button to a Windows host has the same effect it would locally (e.g. shows Task Manager or the Security screen). Review URL: https://chromiumcodereview.appspot.com/9963084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130669 0039d316-1c4b-4281-b951-d872f2087c98
* Disable click-to-connect while the hostname is being edited.jamiewalch@google.com2012-04-042-12/+19
| | | | | | | | | BUG=121509 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9965137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130666 0039d316-1c4b-4281-b951-d872f2087c98
* Update Linux policy reader to cope with trailing commas.wez@chromium.org2012-04-041-0/+1
| | | | | | | | | | | Chrome's directory-based policy reader was updated to allow this. BUG=121180 TEST=Under Linux, create a JSON policy file under /etc/opt/chrome/policies/managed/foo.json, with a policy specification that includes a term (e.g. a list) with a trailing comma after the final item. Review URL: https://chromiumcodereview.appspot.com/9965135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130665 0039d316-1c4b-4281-b951-d872f2087c98