summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* [Chromoting] The webapp should consider the host being enabled when the ↵alexeypa@chromium.org2012-08-151-1/+2
| | | | | | | | | | service is starting. BUG=141281 Review URL: https://chromiumcodereview.appspot.com/10855182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151754 0039d316-1c4b-4281-b951-d872f2087c98
* Make curtain-mode controllable by policy.jamiewalch@google.com2012-08-157-44/+153
| | | | | | | | BUG=110111 Review URL: https://chromiumcodereview.appspot.com/10829306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151714 0039d316-1c4b-4281-b951-d872f2087c98
* Tidy up ChromotingInstance members a little.wez@chromium.org2012-08-154-45/+35
| | | | | | | | | | | | - Group member variables more appropriately. - Create the input pipeline as member objects rather than separate objects, to remove the need for pointer checks in various places. TEST=Existing unit-tests. Client plugin continues to work in manual tests. Review URL: https://chromiumcodereview.appspot.com/10831221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151680 0039d316-1c4b-4281-b951-d872f2087c98
* Add mux-stream transport support in session descriptionsergeyu@chromium.org2012-08-155-111/+73
| | | | | | | | | | Also moved NameToValue() and ValueToName() from jingle_messages.cc to name_value_map.h . These functions simplify string<->enum mapping. BUG=137135 Review URL: https://chromiumcodereview.appspot.com/10829324 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151629 0039d316-1c4b-4281-b951-d872f2087c98
* Split Xvfb-randr into separate package from Virtual Me2Me Debian packagelambroslambrou@chromium.org2012-08-142-2/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10826227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151530 0039d316-1c4b-4281-b951-d872f2087c98
* Change default host resolution to 1280x800.sergeyu@chromium.org2012-08-141-1/+1
| | | | | | | | | | | 1280x800 is resolution of chromebook screens. For clients with higher resolution 1280x800 is still better because of most modern screens have 16:10 aspect ratio. Review URL: https://chromiumcodereview.appspot.com/10836226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151459 0039d316-1c4b-4281-b951-d872f2087c98
* Update JingleThreadWrapper to allow it to be created using task runner.sergeyu@chromium.org2012-08-142-3/+3
| | | | | | | | | | | | | Previously JingleThreadWrapper required a MessageLoop. In NaCl we don't have MessageLoop for the main plugin thread, but have a task runner. This CL allows to use JingleThreadWrapper on the main NaCl thread. BUG=134216 TBR=tommi@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151458 0039d316-1c4b-4281-b951-d872f2087c98
* Add Chromoting curtain-mode policy.jamiewalch@chromium.org2012-08-133-0/+10
| | | | | | | | | BUG=110111 Review URL: https://chromiumcodereview.appspot.com/10827265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151350 0039d316-1c4b-4281-b951-d872f2087c98
* Reposition the Disconnect dialog when work area dimensions change.wez@chromium.org2012-08-131-29/+48
| | | | | | | | | | | This prevents the Disconnect dialog from becoming hidden by the Windows task bar, or falling off-screen when the display resolution is made smaller. BUG=129907,129835 Review URL: https://chromiumcodereview.appspot.com/10825251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151313 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Remove more 10.5-only codethakis@chromium.org2012-08-102-21/+0
| | | | | | | | | BUG=137676 TBR=jamiewalch,tony Review URL: https://chromiumcodereview.appspot.com/10825302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151142 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the HostEventStub aggregate interface.wez@chromium.org2012-08-1012-86/+53
| | | | | | | | | BUG=118511 Review URL: https://chromiumcodereview.appspot.com/10823244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151100 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Moving common logic responsible for launching child processes ↵alexeypa@chromium.org2012-08-108-256/+509
| | | | | | | | | | to WorkerProcessLauncher class. Launches processes are expected to connect back via a Chromium IPC channel (and their identify can be verified at this point). The class also monitors lifetime of the launched process invoking the normal shutdown sequence in case of premature death of the worker process. BUG=134694 Review URL: https://chromiumcodereview.appspot.com/10828181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151096 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Bump version to 1.8.garykac@chromium.org2012-08-091-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10827263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150929 0039d316-1c4b-4281-b951-d872f2087c98
* Clean-up inline members of nested classes (remoting/)hans@chromium.org2012-08-099-2/+30
| | | | | | | | | | | | | | | | Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10855076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150913 0039d316-1c4b-4281-b951-d872f2087c98
* 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-094-0/+135
| | | | | | | | | | | | | | | 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
* Don't use auth.json in me2me_virtual_host.sergeyu@chromium.org2012-08-091-105/+131
| | | | | | | | | | | | auth.json was previously used to store authentication tokens. Now host config will be used to store them instead. This script will automatically upgrade config files on systems that still have auth.json BUG=120950 Review URL: https://chromiumcodereview.appspot.com/10830225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150688 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-087-69/+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-0811-32/+1001
| | | | | | | | | | | 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
* Remove V1 chromoting authenticatorssergeyu@chromium.org2012-08-079-383/+20
| | | | | | | | | | | After the last chrome remote desktop webapp update (version 1.6.1180.51) V1 authenticators should never be used, so it's safe to remove them now. BUG=110483 Review URL: https://chromiumcodereview.appspot.com/10830184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150225 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaned up usage of std::wstring in src/remoting. Added presubmit warning ↵alexeypa@chromium.org2012-08-0710-54/+60
| | | | | | | | | | | 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-066-13/+33
| | | | | | | | | | | 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-044-38/+66
| | | | | | | | | | | | 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
* Add support for suppressing error logging, and don't log errors due to ↵jamiewalch@chromium.org2012-08-046-3/+90
| | | | | | | | | | | cached host information or client device suspend. BUG=139389 Review URL: https://chromiumcodereview.appspot.com/10825187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150004 0039d316-1c4b-4281-b951-d872f2087c98
* Piping for audio decoding.kxing@chromium.org2012-08-0415-28/+271
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10843031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149990 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Use different talkgadget prefixes for client and oauth.garykac@chromium.org2012-08-032-2/+2
| | | | | | | | | | | | | | | | | | With this change, Chromoting will use chromoting-oauth.talkgadget.google.com to talk to the talkgadget during the auth phase and will use chromoting-client.talkgadget.google.com when the client is interacting with the talkgadget. Host interactions with the talkgadget will be controlled by policy and will be handled in a separate cl. BUG=132345 TEST=None Review URL: https://chromiumcodereview.appspot.com/10837106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149975 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Auto-generate CLSID of the daemon controller at GYP time. This ↵alexeypa@chromium.org2012-08-036-8/+44
| | | | | | | | | | | 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-034-5/+5
| | | | | | | | 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
* Fix destruction order in XmppSignalStrategy.sergeyu@chromium.org2012-08-021-0/+9
| | | | | | | | | | | | | This fixes a crash that was introduced in crrev.com/148803. Specifically when XMPP authentication fails. It may or may not fix the crash in the linked bug. BUG=140096 Review URL: https://chromiumcodereview.appspot.com/10850008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149662 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to customise Virtual Me2Me X session.lambroslambrou@chromium.org2012-08-021-0/+12
| | | | | | | | | | | | | This avoids the need for editing the script, which is impractical when it is installed from a Debian package. BUG=131245 Review URL: https://chromiumcodereview.appspot.com/10823109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149551 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Implement the host domain policy.simonmorris@chromium.org2012-08-026-24/+95
| | | | | | | | | | | | 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
* [Chromoting] Fix command line flags for virtual Me2Me.simonmorris@chromium.org2012-08-011-2/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10826109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149520 0039d316-1c4b-4281-b951-d872f2087c98
* Replace --explicit-config option in me2me_virtual_host.py with --silent.sergeyu@chromium.org2012-08-012-39/+75
| | | | | | | | | 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-017-60/+144
| | | | | | | | | | | | 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-0111-2/+119
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10836017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149441 0039d316-1c4b-4281-b951-d872f2087c98
* Add unittests for BufferedSocketWriter and fix some bugs in that code.sergeyu@chromium.org2012-08-016-63/+326
| | | | | | | | | | | One issue that is being fixed is that previously that class didn't properly handle the case when write is called from a callback or the object is destroyed from a callback. Review URL: https://chromiumcodereview.appspot.com/10836030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149350 0039d316-1c4b-4281-b951-d872f2087c98
* Introducing the DaemonProcess class that will implements core of the daemon ↵alexeypa@chromium.org2012-08-018-17/+233
| | | | | | | | | | | 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
* Run Virtual Me2Me sessions via /etc/X11/Xsessionlambroslambrou@chromium.org2012-07-311-2/+3
| | | | | | | | | | | | | This is so that the system startup files in /etc/X11/Xsession.d/ are sourced before running the chosen session. BUG=139846 Review URL: https://chromiumcodereview.appspot.com/10843011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149288 0039d316-1c4b-4281-b951-d872f2087c98
* Introducing remoting::Stoppable helper base class implementing asynchronous ↵alexeypa@chromium.org2012-07-317-60/+189
| | | | | | | | 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] Re-enable a unit test.simonmorris@chromium.org2012-07-311-5/+4
| | | | | | | | | A mac_valgrind suppression was added at r148972. Review URL: https://chromiumcodereview.appspot.com/10825092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149256 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] Make virtual Me2Me explicitly ask for an app-specific password.simonmorris@chromium.org2012-07-311-1/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10831089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149236 0039d316-1c4b-4281-b951-d872f2087c98