summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [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] Add wildcard to talkgadget in manifest permissions.garykac@chromium.org2012-07-313-3/+4
| | | | | | | | | | | | | | | | This grants permission to <anything>.talkgadget.google.com as well as allowing simply talkgadget.google.com. This is to prepare for (1) changing the default talkgadget name to something specific to chromoting and (2) adding a policy setting that allows the talkgadget name to be changed. BUG=108448 TEST=none Review URL: https://chromiumcodereview.appspot.com/10789054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149105 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-3028-142/+139
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10832068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149043 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Disable a unit test in which win_tsan and mac_valgrind catch leaks.simonmorris@chromium.org2012-07-301-4/+5
| | | | | | | | | The unit test was added in r148888. Review URL: https://chromiumcodereview.appspot.com/10826062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148969 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add unit tests for up- and down-scaling.simonmorris@chromium.org2012-07-283-77/+164
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10828058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148888 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-273-34/+66
| | | | | | | | | 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
* Don't use MessageLoop and MessageLoopProxy in remoting/jingle_gluesergeyu@chromium.org2012-07-272-7/+9
| | | | | | | | | | | MessageLoopProxy::current() may not work properly on plugin threads unless the plugin is compiled into the browser. BUG=134216 Review URL: https://chromiumcodereview.appspot.com/10830017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148811 0039d316-1c4b-4281-b951-d872f2087c98
* Always use chromium threads for IO in remoting hostsergeyu@chromium.org2012-07-2727-1663/+69
| | | | | | | | | | 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-279-49/+49
| | | | | | | | | | | | 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
* Ingore ERR_ADDRESS_INVALID error returned from sendto().sergeyu@chromium.org2012-07-271-2/+8
| | | | | | | | | | | | This is a speculative fix for the failure in crbug.com/139136. It's not clear why we get WSAEADDRNOTAVAIL from sendto(), but it should be safe to ignore that error. BUG=137140 Review URL: https://chromiumcodereview.appspot.com/10827064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148784 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add a unit test to verify that the VP8 codec doesn't change ↵simonmorris@chromium.org2012-07-273-3/+120
| | | | | | | | color values too much. Review URL: https://chromiumcodereview.appspot.com/10833022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148779 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for multiple sampling rates on Windows.kxing@chromium.org2012-07-274-11/+54
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10818010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148766 0039d316-1c4b-4281-b951-d872f2087c98