summaryrefslogtreecommitdiffstats
path: root/remoting/host
Commit message (Collapse)AuthorAgeFilesLines
* mac: Delete more 10.5-only codethakis@chromium.org2012-08-091-7/+0
| | | | | | | | | BUG=137676 TBR=tony, sky Review URL: https://chromiumcodereview.appspot.com/10837158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150878 0039d316-1c4b-4281-b951-d872f2087c98
* Curtain mode implementation for Mac OS X.jamiewalch@chromium.org2012-08-093-0/+133
| | | | | | | | | | | | | | | This implements the basic curtain-mode functionality: * Switch out the active session on connection (if necessary--it doesn't do this if the session is at the login screen or already switched out) * Close all connections if the session becomes active again (for example, if someone logs into it at the console). It doesn't solve the problem of launchd starting a new instance of the server when we switch out. There will be a follow-up CL to address that. BUG=110111 Review URL: https://chromiumcodereview.appspot.com/10823215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150746 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DCHECK from SessionEventExecutorWin destructor.sergeyu@chromium.org2012-08-091-1/+0
| | | | | | | | | | | Event executors currently are always destroyed on the main thread. BUG=141512 Review URL: https://chromiumcodereview.appspot.com/10836166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150741 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Move CreateSessionToken() next to launch process utilities.alexeypa@chromium.org2012-08-085-114/+108
| | | | | | | | | BUG=134694 Review URL: https://chromiumcodereview.appspot.com/10828160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150508 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting r148671, r149866 (broke VS2008 builder) and r150361 (broke ninja).alexeypa@chromium.org2012-08-084-38/+13
| | | | | | | | | | | | Rolling GYP to r1458 to undo (r1457, r1452, r1450, r1449). BUG=141132, 137755 TBR=alexeypa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10828203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150494 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ChannelMultiplexer.sergeyu@chromium.org2012-08-081-0/+1
| | | | | | | | | | | ChannelMultiplexer allows multiple logical channels to share a single underlying transport channel. BUG=137135 Review URL: https://chromiumcodereview.appspot.com/10830046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150484 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Me2Me host to properly reload config when it changes.sergeyu@chromium.org2012-08-073-21/+40
| | | | | | | | | BUG=140578 Review URL: https://chromiumcodereview.appspot.com/10831184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150262 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaned up usage of std::wstring in src/remoting. Added presubmit warning ↵alexeypa@chromium.org2012-08-079-48/+53
| | | | | | | | | | | supressions for the remaning instances because they depend on hard-to-change public APIs. BUG=133003 Review URL: https://chromiumcodereview.appspot.com/10824166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150224 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add new policies for Chromotinggarykac@chromium.org2012-08-065-13/+32
| | | | | | | | | | | This adds definitions in Chrome for the new policies required by Chromoting: HostDomain, HostRequireTwoFactor and HostTalkGadgetPrefix. These policies are read and enforced by the Chromoting host code. BUG=132345 TEST=None Review URL: https://chromiumcodereview.appspot.com/10825149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150153 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Extract branding from the signing script.garykac@chromium.org2012-08-043-38/+65
| | | | | | | | | | | | With this change, all branding happens to the props file which is read by the signing script. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10825193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150006 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Auto-generate CLSID of the daemon controller at GYP time. This ↵alexeypa@chromium.org2012-08-033-8/+13
| | | | | | | | | | | makes sure that a freshly installed version of the controller will be launched after upgrade even if there is already running instance cached by RPCSS. BUG=137755 Review URL: https://chromiumcodereview.appspot.com/10837087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149866 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Moving Windows-only host installation script to ↵alexeypa@google.com2012-08-031-0/+0
| | | | | | | | remoting/host/win. Moving scripts to remoting/tools. Review URL: https://chromiumcodereview.appspot.com/10832124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149856 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Let the Mac host policy watcher read string-valued policies.dcaiafa@chromium.org2012-08-021-1/+18
| | | | | | | | | BUG=132864 Review URL: https://chromiumcodereview.appspot.com/10836075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149675 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Implement the host domain policy.simonmorris@chromium.org2012-08-025-24/+91
| | | | | | | | | | | | A follow-up CL will add a more helpful notification of violation of this policy, in the IT2Me case. BUG=132684 Review URL: https://chromiumcodereview.appspot.com/10823083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149539 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary fix for Mac black-screen issue.jamiewalch@chromium.org2012-08-011-2/+9
| | | | | | | | | BUG=139930 Review URL: https://chromiumcodereview.appspot.com/10850006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149522 0039d316-1c4b-4281-b951-d872f2087c98
* Replace --explicit-config option in me2me_virtual_host.py with --silent.sergeyu@chromium.org2012-08-011-8/+23
| | | | | | | | | BUG=120950 Review URL: https://chromiumcodereview.appspot.com/10825124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149504 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Fix a few compile errors with the 10.8 SDKthakis@chromium.org2012-08-011-1/+1
| | | | | | | | | | BUG=139138 TBR=tony Review URL: https://chromiumcodereview.appspot.com/10831108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149465 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the need to have separate config for authentication.sergeyu@chromium.org2012-08-015-45/+125
| | | | | | | | | | | | Previously host was opening two separate configs, but that doesn't seem to be very useful. With that change the host still supports --auth-config option, but it no longer requires auth config and doesn't try to open auth.json by default. Review URL: https://chromiumcodereview.appspot.com/10825121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149453 0039d316-1c4b-4281-b951-d872f2087c98
* Piping for audio encoding.kxing@chromium.org2012-08-016-2/+37
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10836017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149441 0039d316-1c4b-4281-b951-d872f2087c98
* Introducing the DaemonProcess class that will implements core of the daemon ↵alexeypa@chromium.org2012-08-017-17/+222
| | | | | | | | | | | process functionality. It will manage the networking process running at lower privileges and maintains the list of virtual terminals. BUG=134694 Review URL: https://chromiumcodereview.appspot.com/10823062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149347 0039d316-1c4b-4281-b951-d872f2087c98
* Not streaming packets of silence.kxing@chromium.org2012-07-312-2/+33
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10820059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149309 0039d316-1c4b-4281-b951-d872f2087c98
* Removing --host-binary parameter in preparation to the coming me2me host ↵alexeypa@chromium.org2012-07-316-35/+24
| | | | | | | | refactoring. Review URL: https://chromiumcodereview.appspot.com/10832054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149298 0039d316-1c4b-4281-b951-d872f2087c98
* Introducing remoting::Stoppable helper base class implementing asynchronous ↵alexeypa@chromium.org2012-07-314-60/+82
| | | | | | | | shutdown on a specific thread. Review URL: https://chromiumcodereview.appspot.com/10796099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149273 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add names of host policies for requiring 2-factor auth, and for ↵simonmorris@chromium.org2012-07-313-3/+35
| | | | | | | | | | | the talkgadget name. BUG=108448 Review URL: https://chromiumcodereview.appspot.com/10837022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149238 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Let the Windows host policy watcher read string-valued policies.simonmorris@chromium.org2012-07-311-8/+37
| | | | | | | | BUG=132684 Review URL: https://chromiumcodereview.appspot.com/10832071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149184 0039d316-1c4b-4281-b951-d872f2087c98
* Strip .py script extension to work with Debian package version of the host.jamiewalch@chromium.org2012-07-311-1/+1
| | | | | | | | | BUG=134189 Review URL: https://chromiumcodereview.appspot.com/10832074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149107 0039d316-1c4b-4281-b951-d872f2087c98
* Update for OS X 10.6 SDK.jamiewalch@chromium.org2012-07-312-38/+40
| | | | | | | | BUG=138999,139274 Review URL: https://chromiumcodereview.appspot.com/10833060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149106 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Remove check for too many args from signing script.garykac@chromium.org2012-07-311-1/+1
| | | | | | | | | | | | | Purpose of this change is to help future-proof the script. Since old versions of this script may be run when signing old builds, removing this check for too many args allows us to add new params on the calling side without breaking old builds. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10826076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149091 0039d316-1c4b-4281-b951-d872f2087c98
* Moving Windows-only files: remoting/host -> remoting/host/win.alexeypa@google.com2012-07-3027-121/+118
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10832068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149043 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add a host domain policy to the PolicyWatcher.simonmorris@chromium.org2012-07-285-38/+181
| | | | | | | | | | | | Follow-up CLs will make the host respect this policy, and will let Windows and Mac builds read this string-valued policy. BUG=132684 Review URL: https://chromiumcodereview.appspot.com/10816036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148871 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Make some logging levels in ClipboardWin more appropriate.simonmorris@chromium.org2012-07-281-2/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10835024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148853 0039d316-1c4b-4281-b951-d872f2087c98
* Add HostEventLogger to It2Me host plugin.alexeypa@chromium.org2012-07-272-0/+8
| | | | | | | | | BUG=132886 Review URL: https://chromiumcodereview.appspot.com/10827054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148845 0039d316-1c4b-4281-b951-d872f2087c98
* Correct const accessors in base/values.(h|cc)vabr@chromium.org2012-07-271-1/+1
| | | | | | | | | | | | | For problem description and other info please see the BUG page. This is for DictionaryValue. BUG=138946 TEST=N/A (no fix & no new feature) TBR=jar scottbyer achuith agl mnissler davemoore garykac akalin hans bulach phajdan.jr jamesr Review URL: https://chromiumcodereview.appspot.com/10834004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148833 0039d316-1c4b-4281-b951-d872f2087c98
* Always use chromium threads for IO in remoting hostsergeyu@chromium.org2012-07-2712-49/+21
| | | | | | | | | | BUG=137140 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148418 Review URL: https://chromiumcodereview.appspot.com/10808094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148803 0039d316-1c4b-4281-b951-d872f2087c98
* Replace PluginMessageLoopProxy with PluginThreadTaskRunner.sergeyu@chromium.org2012-07-273-8/+8
| | | | | | | | | | | | Previosly plugin code was using PluginMessageLoopProxy that implements MessageLoopProxy interface. We no longer need MessageLoopProxy. Replacing PluginMessageLoopProxy with PluginThreadTaskRunner that implements SingleThreadTaskRunner interface Review URL: https://chromiumcodereview.appspot.com/10830016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148801 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for multiple sampling rates on Windows.kxing@chromium.org2012-07-273-11/+53
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10818010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148766 0039d316-1c4b-4281-b951-d872f2087c98
* Basic Debian packaging for Linux Me2Me hostlambroslambrou@chromium.org2012-07-276-0/+79
| | | | | | | | | | | | | | | | | | | This facilitates building a Debian package, currently for Ubuntu 10.04. This is based on work by benley@ and jamiewalch@ (http://codereview.chromium.org/10800099/) TODO: * Allow building packages for other versions of Ubuntu (maybe detect the current build platform and use that) * Integrate better with gyp, instead of hard-coding out/Release and manually supplying version_full to the script. * Add man-page for me2me_virtual_host * Use separate staging area for the debian/ build directory, instead of polluting the source tree. BUG=131245 TEST= Review URL: https://chromiumcodereview.appspot.com/10821028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148701 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid potential conflicts leading to pending reboots while upgrading the ↵alexeypa@chromium.org2012-07-272-5/+25
| | | | | | | | | | | | | | me2me host: - Install the host binaries to versioned folders. - Drop references to the COM objects quickly. BUG=137755 Review URL: https://chromiumcodereview.appspot.com/10831037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148671 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Fix keystone install script to use .pkg instead of .mpkg.garykac@chromium.org2012-07-261-1/+1
| | | | | | | | | | | | Iceberg builds .mpkgs, but Packages builds flat .pkgs. We switch to using Packages because it can create "flag packages" that we can sign and signing is required for Mac OS X 10.8. When we switched from .mpkg to .pkg, the keystone installer script was not updated. So keystone installs are not happening. Review URL: https://chromiumcodereview.appspot.com/10831041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148655 0039d316-1c4b-4281-b951-d872f2087c98
* Send correct DPI to client.jamiewalch@chromium.org2012-07-261-0/+8
| | | | | | | | | | BUG=135089 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10824035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148618 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 148418 - Always use chromium threads for IO in remoting hostsergeyu@chromium.org2012-07-2612-21/+49
| | | | | | | | | | | | BUG=137140 Review URL: https://chromiumcodereview.appspot.com/10808094 TBR=sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/10829040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148578 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Update uninstaller to facilitate testing automation.garykac@chromium.org2012-07-258-185/+275
| | | | | | | | | | | | | | | | With this change, if launched from shell as root, the uninstaller will: * Not show any confirmation UX * Not prompt for admin elevation Also in this cl, cleanup some of the shared Mac constants by pushing more into into constants_mac and fixing up the naming style. This required minor updates to the prefpane and daemon controller. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10807061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148442 0039d316-1c4b-4281-b951-d872f2087c98
* Always use chromium threads for IO in remoting hostsergeyu@chromium.org2012-07-2512-49/+21
| | | | | | | | | BUG=137140 Review URL: https://chromiumcodereview.appspot.com/10808094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148418 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Refactor the host policy watcher so that policies can easily be ↵simonmorris@chromium.org2012-07-2414-217/+586
| | | | | | | | | | | | | | added. This CL renames some classes, but not the source files, to make it easier to compare the old and new versions. A follow-up CL will rename the files. BUG=137906 Review URL: https://chromiumcodereview.appspot.com/10804040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148029 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure VideoFrameBufferWin::VideoFrameBuffer::resource_generation is ↵alexeypa@chromium.org2012-07-241-14/+15
| | | | | | | | properly initialized. Review URL: https://chromiumcodereview.appspot.com/10806074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148019 0039d316-1c4b-4281-b951-d872f2087c98
* Move responsibility for l10n parameters to the caller.jamiewalch@chromium.org2012-07-242-7/+29
| | | | | | | | | | BUG=132370 TEST=No behavioural change expected. Review URL: https://chromiumcodereview.appspot.com/10661058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148005 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Tidy up SkISize initialization.simonmorris@chromium.org2012-07-232-3/+6
| | | | | | | | | | | The root cause of crbug.com/137878 was r103533, which replaced a class whose default constructor initialized objects fully, with a struct for which that isn't the case. Review URL: https://chromiumcodereview.appspot.com/10796072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147933 0039d316-1c4b-4281-b951-d872f2087c98
* Remove EventExecutor dependency on VideoFrameCapturer.wez@chromium.org2012-07-236-22/+17
| | | | | | | | | | BUG=137044 TEST=Manual verification that Windows host input injection works correctly. Review URL: https://chromiumcodereview.appspot.com/10795053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147906 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress 0x0 MotionNotify events between button presses and releases.wez@chromium.org2012-07-231-5/+22
| | | | | | | | | | BUG=138075 TEST=Connect to a Linux host, run Gnome-terminal and click in the terminal to the right of a line of text. No part of the terminal's contents should become selected by the action, unless the mouse is actually moved between the press and release. Review URL: https://chromiumcodereview.appspot.com/10795065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147892 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing flag to SendInput for multi-monitor.wez@chromium.org2012-07-231-1/+2
| | | | | | | | | | | | Without this mouse events are scaled to fit the primary monitor. BUG=118109 TEST=Connect to a multi-monitor Windows system and verify that mouse events are correctly injected even to non-primary monitors. Review URL: https://chromiumcodereview.appspot.com/10780042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147846 0039d316-1c4b-4281-b951-d872f2087c98