summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* [Chromoting] Update uninstaller to facilitate testing automation.garykac@chromium.org2012-07-259-185/+279
| | | | | | | | | | | | | | | | 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
* Coverity: Initialize member variables.jhawkins@chromium.org2012-07-251-0/+1
| | | | | | | | | | | | | | CID_COUNT=12 CID=104349,104361,104373,104374,104399,104420,104421,104422,104466,104476, 104532,104538 BUG=none TEST=none R=groby TBR=brettw,satorux,mnissler Review URL: https://chromiumcodereview.appspot.com/10833006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148430 0039d316-1c4b-4281-b951-d872f2087c98
* Always use chromium threads for IO in remoting hostsergeyu@chromium.org2012-07-2527-1663/+69
| | | | | | | | | 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
* Fix invalid header guards in jingle_session(_manager)?.hsergeyu@chromium.org2012-07-252-6/+6
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10825017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148410 0039d316-1c4b-4281-b951-d872f2087c98
* Created define to switch on/off audio.kxing@chromium.org2012-07-242-6/+12
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10795075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148223 0039d316-1c4b-4281-b951-d872f2087c98
* Support for both 44.1 kHz and 48 kHz on the client.kxing@chromium.org2012-07-244-33/+65
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10795066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148203 0039d316-1c4b-4281-b951-d872f2087c98
* Fix incorrect ready state events.sergeyu@chromium.org2012-07-242-2/+2
| | | | | | | | | BUG=138607 Review URL: https://chromiumcodereview.appspot.com/10817026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148148 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Refactor the host policy watcher so that policies can easily be ↵simonmorris@chromium.org2012-07-2415-222/+596
| | | | | | | | | | | | | | 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
* [Chromoting] Fix unit test warnings introduced in r146455.simonmorris@chromium.org2012-07-241-0/+12
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10815023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148018 0039d316-1c4b-4281-b951-d872f2087c98
* Make Chromoting client plugin always render at device DPI.wez@chromium.org2012-07-244-25/+51
| | | | | | | | | | | | | This addresses image quality issues when to a high-resolution device from a high-DPI but lower resolution client. In this case Chromoting would down-scale to the plugin's DIP dimensions, only for Chrome to up-scale to device dimensions. Follow-up CLs will add DPI information to the FrameConsumer interface, and try to optimize the plugin's up-scaling mode. BUG=133349,135089 Review URL: https://chromiumcodereview.appspot.com/10785041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148012 0039d316-1c4b-4281-b951-d872f2087c98
* Move responsibility for l10n parameters to the caller.jamiewalch@chromium.org2012-07-243-17/+30
| | | | | | | | | | 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] Fix jscompiler warnings in client_plugin_async.jsgarykac@chromium.org2012-07-241-1/+2
| | | | | | | | | | BUG=None TEST=jscompiler reports no warnings. Review URL: https://chromiumcodereview.appspot.com/10796097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148004 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ChromiumSocketFactory.sergeyu@chromium.org2012-07-234-0/+492
| | | | | | | | | | | | The new PacketSocketFactory will be used by chromoting host in order to be able to use chromium UDP sockets instead of libjingle sockets BUG=137140 Review URL: https://chromiumcodereview.appspot.com/10783028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147934 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
* Create and destroy Pepper audio player on connect and disconnect.kxing@chromium.org2012-07-231-1/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10800077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147920 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
* Show connection state in the Chromoting client UI.sergeyu@chromium.org2012-07-2316-2/+102
| | | | | | | | | | | | Now screen is desaturated when we get notification that video channel is not working. BUG=131411 Review URL: https://chromiumcodereview.appspot.com/10692179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147830 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromotingView to ClientUserInterface. Clean it up.sergeyu@chromium.org2012-07-2310-253/+158
| | | | | | | | | | | | | ChromotingView wasn't really doing what it was initially meant to do, now FrameProducer and FrameConsumer interfaces are used to process video stream. Renamed and simplified that interface. Also moved implementation from PepperView to ChromotingInstance. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=147595 Review URL: https://chromiumcodereview.appspot.com/10703144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147828 0039d316-1c4b-4281-b951-d872f2087c98
* Fix EncoderVp8 for odd-height images.wez@chromium.org2012-07-212-44/+33
| | | | | | | | | | | | | | | This CL makes three changes: * Use consistent Y/U/V buffer positions between the conversion & encode steps. * Don't clip the image to even dimensions before converting it. * CHECK that aligning a non-empty region results in a non-empty region. BUG=137274 TEST=Create a virtual desktop with odd dimensions and connect to it with Chromoting. Colour should not be funky, and there should be no "ghosting". Review URL: https://chromiumcodereview.appspot.com/10789051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147760 0039d316-1c4b-4281-b951-d872f2087c98
* Fix and reinstate VideoFrameCapturerTest.Capturejamiewalch@chromium.org2012-07-212-8/+7
| | | | | | | | | | BUG=137878 TEST=VideoFrameCapturerTest.Capture Review URL: https://chromiumcodereview.appspot.com/10816012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147744 0039d316-1c4b-4281-b951-d872f2087c98
* Changed test video dimension from 1x1 to 32x32hclam@chromium.org2012-07-202-2/+5
| | | | | | | | | | | | Latest eider branch libvpx runs in infinite loop with dimension smaller than 32x32. BUG=None TEST=remoting_unittets runs Review URL: https://chromiumcodereview.appspot.com/10802057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147723 0039d316-1c4b-4281-b951-d872f2087c98
* Run a RANDR-patched version of Xvfb for Virtual Me2Me if available.lambroslambrou@google.com2012-07-201-2/+7
| | | | | | | | | BUG=131245 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10800061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147720 0039d316-1c4b-4281-b951-d872f2087c98
* Changed AudioCapturer::Start() to return bool.kxing@chromium.org2012-07-203-13/+19
| | | | | | | | | BUG=138076 Review URL: https://chromiumcodereview.appspot.com/10790102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147688 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] In all the plists, define the LSMinimumSystemVersion based on ↵rsesek@chromium.org2012-07-202-3/+3
| | | | | | | | | | | | | | | | | | MACOSX_DEPLOYMENT_TARGET. The LSMinimumSystemVersion must be of the form |n.n.n| [1] but the MACOSX_DEPLOYMENT_TARGET is only |n.n|, so add an extra |.0| to the value in the plist key. [1] https://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html BUG=137676 TEST=none TBR=mac people Review URL: https://chromiumcodereview.appspot.com/10810031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147607 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate DPI information to web-app.jamiewalch@chromium.org2012-07-2012-20/+62
| | | | | | | | | | BUG=135089 TEST= Review URL: https://chromiumcodereview.appspot.com/10801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147605 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 147595 - Rename ChromotingView to ClientUserInterface. Clean it up.sergeyu@chromium.org2012-07-2010-153/+253
| | | | | | | | | | | | | | ChromotingView wasn't really doing what it was initially meant to do, now FrameProducer and FrameConsumer interfaces are used to process video stream. Renamed and simplified that interface. Also moved implementation from PepperView to ChromotingInstance. Review URL: https://chromiumcodereview.appspot.com/10703144 TBR=sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/10800048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147596 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromotingView to ClientUserInterface. Clean it up.sergeyu@chromium.org2012-07-2010-253/+153
| | | | | | | | | | | ChromotingView wasn't really doing what it was initially meant to do, now FrameProducer and FrameConsumer interfaces are used to process video stream. Renamed and simplified that interface. Also moved implementation from PepperView to ChromotingInstance. Review URL: https://chromiumcodereview.appspot.com/10703144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147595 0039d316-1c4b-4281-b951-d872f2087c98
* This CL cleans up error handling when fetching the user's email address. We ↵jamiewalch@google.com2012-07-208-75/+55
| | | | | | | | | | | | | | do this once per login, immediately after getting the OAuth2 refresh token, so failures should be rare, but we've had at least one report of problems, and the current failure mode is to tell the user that the service is unavailable. Specifically, this CL: * Adds an onError callback so that the caller can be notified of exactly what went wrong. * Makes sure that a valid email address exists before allowing the user to interact with the app (the alternative is to make accessing the email address asynchronous everywhere, which gets messy very quickly). BUG=137713 TEST= Review URL: https://chromiumcodereview.appspot.com/10807026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147588 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Fixup plugin description in chrome://plugins.garykac@chromium.org2012-07-201-3/+1
| | | | | | | | | | BUG=124014,125951 TEST=None Review URL: https://chromiumcodereview.appspot.com/10808025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147578 0039d316-1c4b-4281-b951-d872f2087c98
* Removing unused and private methods remoting::Capturer interface.alexeypa@chromium.org2012-07-209-155/+89
| | | | | | | | | BUG=104542 TEST=remoting_unittests Review URL: https://chromiumcodereview.appspot.com/10799013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147574 0039d316-1c4b-4281-b951-d872f2087c98
* Audio capture for Windows.kxing@chromium.org2012-07-194-1/+284
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10782034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147566 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Capturer to VideoFrameCapturer.alexeypa@chromium.org2012-07-1930-318/+334
| | | | | | | | | | | Patch contributed by Thiago Farina <tfarina@chromium.org>. BUG=104542 Review URL: https://chromiumcodereview.appspot.com/10790075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147518 0039d316-1c4b-4281-b951-d872f2087c98
* Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socketrch@chromium.org2012-07-194-0/+22
| | | | | | | | | | | | | | | | even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98
* Log host startup (Linux/Mac)lambroslambrou@chromium.org2012-07-191-0/+1
| | | | | | | | | | BUG=132683 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10800023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147383 0039d316-1c4b-4281-b951-d872f2087c98
* Choose Virtual Me2Me X session based on installed components.lambroslambrou@chromium.org2012-07-191-4/+55
| | | | | | | | | | | | | | This updates the Virtual Me2Me script to work on Ubuntu 12.04 as well as Ubuntu 10.04. BUG=131440 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10690175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147350 0039d316-1c4b-4281-b951-d872f2087c98
* Making the WiX wrapper scripts to be able to handle paths with spaces.alexeypa@chromium.org2012-07-192-23/+23
| | | | | | | | | TEST=remoting_host_installation compiles. Review URL: https://chromiumcodereview.appspot.com/10797016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147346 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pepper crash when destroying client.sergeyu@chromium.org2012-07-181-3/+8
| | | | | | | | | | | After crrev.com/145781 the UDPPacketSocket wasn't handling PP_ERROR_ABORTED properly and this may cause crash when disconnecting. BUG=137632 Review URL: https://chromiumcodereview.appspot.com/10806020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147336 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all the OS X 10.6 SDK forward declarations.rsesek@chromium.org2012-07-181-15/+0
| | | | | | | | | | BUG=137676 TEST=compiles TBR=mechanical change Review URL: https://chromiumcodereview.appspot.com/10785047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147318 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Disable flaky CapturerTest.Capture.shess@chromium.org2012-07-181-1/+7
| | | | | | | | | | | Enreddens the tree every couple hours. BUG=137878 TEST=no more tree red. Review URL: https://chromiumcodereview.appspot.com/10806021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147314 0039d316-1c4b-4281-b951-d872f2087c98
* Translations for M21.jamiewalch@google.com2012-07-1842-128/+674
| | | | | | | | | BUG=131403 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10809007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147270 0039d316-1c4b-4281-b951-d872f2087c98
* Added support of DISPATCH_PROPERTYPUT and DISPATCH_PROPERTYPUTREF to ↵alexeypa@chromium.org2012-07-172-9/+90
| | | | | | | | | | | remoting::dispatch::Invoke(). According to MSDN (http://msdn.microsoft.com/en-us/library/windows/desktop/ms221479(v=vs.85).aspx) when IDispatch::Invoke() is used with DISPATCH_PROPERTYPUT or DISPATCH_PROPERTYPUTREF, the property setter's parameter must be named. Review URL: https://chromiumcodereview.appspot.com/10736059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147106 0039d316-1c4b-4281-b951-d872f2087c98
* Removing the unused Curtain interface. The chances of ever using it on Linux ↵alexeypa@chromium.org2012-07-177-195/+0
| | | | | | | | | | and Windows appear to be slim. Mac-specific code has been attached to the bug so it could be reused later. BUG=110111 Review URL: https://chromiumcodereview.appspot.com/10704247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147087 0039d316-1c4b-4281-b951-d872f2087c98
* Virtual Me2Me: Add xrandr commands to set up multiple screen sizeslambroslambrou@chromium.org2012-07-171-22/+61
| | | | | | | | | | | | | | | | Multiple -s WIDTHxHEIGHT options can be specified, and the Python script will attempt to run xrandr commands to register multiple screen modes. This requires a patched Xvfb with RANDR support - any errors running against vanilla Xvfb will be ignored. BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10793021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147078 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add cross-platform unit tests for the capturers.simonmorris@chromium.org2012-07-177-28/+114
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10695073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147066 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fixes a couple of related things:jamiewalch@google.com2012-07-171-31/+21
| | | | | | | | | | | | | | * The linked bug, caused by the use of try...catch to check for the "not signed in" case. * A couple of theoretical bugs caused by the use of a time-sensitive "is valid" method followed by an accessor that throws if it not valid. It also cleans up the interface by enforcing stricter use of @private. BUG=137613 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10704240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147023 0039d316-1c4b-4281-b951-d872f2087c98
* Enable HSTS for XMPP connection used by Chromotingsergeyu@chromium.org2012-07-162-2/+6
| | | | | | | | | | | Chromoting host uses XMPP connection encrypted with SSL to connect to talk.google.com. Previously it was accepting any certificate signed by a known CA. Updating SSL adapter code to enable HSTS code, so that only limited set of CA's is accepted for the XMPP connection. BUG=132884 Review URL: https://chromiumcodereview.appspot.com/10787009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146876 0039d316-1c4b-4281-b951-d872f2087c98
* Require 6-digit PIN for Virtual Me2Melambroslambrou@google.com2012-07-161-11/+2
| | | | | | | | | | | | Disallow blank PIN, change lower limit from 4 to 6 characters, and don't print the out-of-date message about Chrome clients requiring blank PIN. BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10696105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146842 0039d316-1c4b-4281-b951-d872f2087c98