summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Roll libjingle 153:157sergeyu@chromium.org2012-06-292-2/+11
| | | | | | | | | | Among other things this roll fixes relay server support (bug 134007). BUG=134007 Review URL: https://chromiumcodereview.appspot.com/10705008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144860 0039d316-1c4b-4281-b951-d872f2087c98
* Increase PIN minimum length to six digits.jamiewalch@google.com2012-06-293-5/+18
| | | | | | | | | BUG=134525 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10676009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144844 0039d316-1c4b-4281-b951-d872f2087c98
* Remove bogus warnings at start-up.jamiewalch@google.com2012-06-285-21/+36
| | | | | | | | | BUG=129433 TEST=Start the web-app with no hosts registered. There should be no errors on the console. Review URL: https://chromiumcodereview.appspot.com/10679011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144810 0039d316-1c4b-4281-b951-d872f2087c98
* Fix broken MUI strings.alexeypa@chromium.org2012-06-281-2/+2
| | | | | | | | | | BUG=121496 TEST="net start chromoting" shows the proper service name. Review URL: https://chromiumcodereview.appspot.com/10701020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144733 0039d316-1c4b-4281-b951-d872f2087c98
* Enable logging for remoting_simple_hostsergeyu@chromium.org2012-06-281-1/+13
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10696011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144647 0039d316-1c4b-4281-b951-d872f2087c98
* Addressing remaining Breakpad integration issues:alexeypa@chromium.org2012-06-272-4/+14
| | | | | | | | | | | | - Offer to enable crash dump reporting when the host is not installed yet. - Do not log anything until logging is initialized to avoid Application Verifier errors. BUG=130678 Review URL: https://chromiumcodereview.appspot.com/10695012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144588 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Remove test code that got checked in with review comments.garykac@chromium.org2012-06-271-2/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10696014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144575 0039d316-1c4b-4281-b951-d872f2087c98
* Do not try to use elevation on XP/W2K3. Instead activate "as invoker" and ↵alexeypa@chromium.org2012-06-271-14/+32
| | | | | | | | | | | fail privileged operations with ACCESS_DENIED if the caller does not have enough permissions. BUG=121496 Review URL: https://chromiumcodereview.appspot.com/10705003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144535 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaned up <input> CSS and simplified user consent mark-up.jamiewalch@google.com2012-06-272-30/+32
| | | | | | | | | BUG=134063 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10661009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144513 0039d316-1c4b-4281-b951-d872f2087c98
* sas.dll is not included to Windows 8 SDK. Use one from from Windows 7 SDK ↵alexeypa@chromium.org2012-06-272-5/+5
| | | | | | | | | | | | instead. BUG=134509 TEST=src/remoting.gyp:remoting_host_installation is buildable. Review URL: https://chromiumcodereview.appspot.com/10673011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144507 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SSLHostInfo.agl@chromium.org2012-06-272-2/+2
| | | | | | | BUG=105208 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144468 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused fields found by clang's new Wunused-private-fields.thakis@chromium.org2012-06-272-3/+1
| | | | | | | | | | | | Test file edition. BUG=none TEST=none TBR=remaining owners Review URL: https://chromiumcodereview.appspot.com/10680013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144464 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing a crash when cursor share is changing.alexeypa@chromium.org2012-06-271-1/+2
| | | | | | | | | BUG=134763 Review URL: https://chromiumcodereview.appspot.com/10679008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144341 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add param to handle installer signing cert for Mac installer.garykac@chromium.org2012-06-271-5/+14
| | | | | | | | | | | | | | | | The current Mac signing code is broken because it uses the same cert to sign the installer that it uses for the binaries. It should be using a separate cert that is specific for installers. This change adds an extra parameter to our signing script where this installer cert can be specified. If the installer cert is not specified, then the installer will be built but not be signed. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10687005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144332 0039d316-1c4b-4281-b951-d872f2087c98
* A workaround for XP/W2K3 problem allowing to start a process in a session ↵alexeypa@chromium.org2012-06-266-47/+356
| | | | | | | | | | before a user logged in. BUG=121496 Review URL: https://chromiumcodereview.appspot.com/10664035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144324 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add a ChromotingHost unit test for authentication failure.simonmorris@chromium.org2012-06-261-14/+42
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10676008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144311 0039d316-1c4b-4281-b951-d872f2087c98
* Emulate Secure Attention Sequence on XP by injecting Ctrl-Alt-Delete as a ↵alexeypa@chromium.org2012-06-263-2/+52
| | | | | | | | | | | hot key on Winlogon desktop. BUG=121496 Review URL: https://chromiumcodereview.appspot.com/10636059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144310 0039d316-1c4b-4281-b951-d872f2087c98
* Call SetProcessDPIAware only on Vista and above.alexeypa@chromium.org2012-06-261-1/+15
| | | | | | | | | BUG=121496 Review URL: https://chromiumcodereview.appspot.com/10660029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144298 0039d316-1c4b-4281-b951-d872f2087c98
* Make the host installation compatible with XP/W2K3:alexeypa@chromium.org2012-06-261-6/+42
| | | | | | | | | | | | | - The OS version check now allows XP/W2K3. - MUI strings are not used when installing on XP/W2K3. BUG=121496 TEST=Can be installed on XP. The service name is readable. Review URL: https://chromiumcodereview.appspot.com/10669036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144268 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add a ChromotingHost unit test for rejecting client authentication.simonmorris@chromium.org2012-06-262-10/+42
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10656049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144256 0039d316-1c4b-4281-b951-d872f2087c98
* CHromoting: make the host plugin to be compatible with XP/W2K3.alexeypa@chromium.org2012-06-261-2/+9
| | | | | | | | | BUG=121496 Review URL: https://chromiumcodereview.appspot.com/10658039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144244 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the window class name lives long enough to be seen by ↵alexeypa@chromium.org2012-06-261-1/+1
| | | | | | | | RegisterClassEx(). Review URL: https://chromiumcodereview.appspot.com/10656050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144239 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed VideoStub::GetPendingPackets() to VideoStub::GetPendingVideoPackets()kxing@chromium.org2012-06-266-6/+6
| | | | | | | | | BUG=133823 Review URL: https://chromiumcodereview.appspot.com/10662021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144236 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, delegate cleanuprsleevi@chromium.org2012-06-264-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | For Delegate/Observer-type classes that specify an interface but do not have any particular lifetime requirements, make their destructors protected. This is to allow their interfaces to be implemented safely by RefCounted types. With public destructors, it's possible to do "scoped_ptr<Delegate> foo", and then assign a RefCountedDelegateImpl, which would lead to a double free. As none of these Delegates actually need public destructors (ownership of the Delegate* is not transferred during a function call / class constructor), mark the destructors protected so that it becomes a compile warning to try to delete them via the Delegate*. BUG=123295 TEST=it compiles Review URL: https://chromiumcodereview.appspot.com/10383262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144086 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored similar code in ContentDescription::ParseXml()kxing@chromium.org2012-06-262-47/+47
| | | | | | | | | BUG=134222 Review URL: https://chromiumcodereview.appspot.com/10657031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144069 0039d316-1c4b-4281-b951-d872f2087c98
* Using base::ScopedNativeLibrary to control lifetime of dynamically-loaded ↵alexeypa@chromium.org2012-06-252-39/+27
| | | | | | | | libraries. Review URL: https://chromiumcodereview.appspot.com/10661034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144061 0039d316-1c4b-4281-b951-d872f2087c98
* Pass OAuth token refresh errors back to the caller.jamiewalch@google.com2012-06-2513-131/+256
| | | | | | | | | | | | | | | | | | This allows the app to advise the user to sign back in to Chromoting only when we believe it will actually help. As a bonus, the unhelpfully-named ERROR_GENERIC is now gone--apart from OAuth refresh failures, it was being used for edge-cases where we don't expect anything to go wrong (these now use the more suitably-named ERROR_UNEXPECTED). As part of fixing this, I have cleaned up some OAuth call points that were written before callWithToken existed, and which weren't using it. BUG=122899,130794 TEST=Corrupt the oauth2-refresh-token value in HTML Local Storage Review URL: https://chromiumcodereview.appspot.com/10579012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144059 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing a crash in HostPortAllocatorSession::OnURLFetchComplete().alexeypa@chromium.org2012-06-251-4/+6
| | | | | | | | | TEST=Incoming connection does not crash the me2me host. Review URL: https://chromiumcodereview.appspot.com/10659016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144029 0039d316-1c4b-4281-b951-d872f2087c98
* Bump Chromoting to 1.7 on trunk.wez@chromium.org2012-06-251-1/+1
| | | | | | | | | TEST=Web-app and host components should display version 1.7.x.y. Review URL: https://chromiumcodereview.appspot.com/10658021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144015 0039d316-1c4b-4281-b951-d872f2087c98
* Added piping for sending audio packets from host to client.kxing@chromium.org2012-06-2512-54/+232
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10532211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143977 0039d316-1c4b-4281-b951-d872f2087c98
* Remove UrlFetcher from remoting and use the one in net instead.jamiewalch@chromium.org2012-06-237-420/+82
| | | | | | | | | | BUG=133790 TEST=Stop and restart the Me2Me host. It should still work. Review URL: https://chromiumcodereview.appspot.com/10637008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143798 0039d316-1c4b-4281-b951-d872f2087c98
* This CL sets a maximum session duration only for Linux Me2Me, and hard-codes ↵simonmorris@chromium.org2012-06-237-6/+42
| | | | | | | | | | | | | | it to 12 hours. A follow-up CL will get the maximum session duration from a policy. BUG=132678 Review URL: https://chromiumcodereview.appspot.com/10629016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143767 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Detach SessionEventExecutor's weak pointer to itself from the ↵simonmorris@chromium.org2012-06-221-0/+5
| | | | | | | | | | | | | | constructor thread. This lets the weak pointer be used on the desktop thread. BUG=134084 TEST=Bug doesn't repro. Review URL: https://chromiumcodereview.appspot.com/10661004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143746 0039d316-1c4b-4281-b951-d872f2087c98
* Added URLRequestContext to constructor for URLRequest.erikwright@chromium.org2012-06-221-2/+2
| | | | | | | | | | | | | Previously, the context was set using the member function set_context. Note that the context for a URLRequest is not allowed to be null. BUG=81979 TEST=None TBR=ajwong,brettw,vitalybuka,sky Review URL: https://chromiumcodereview.appspot.com/10559036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143595 0039d316-1c4b-4281-b951-d872f2087c98
* The user's consent to crash dumps reporting can now be set via the UI ↵alexeypa@chromium.org2012-06-2222-63/+414
| | | | | | | | | | (Windows only). The checkbox is presented on the Start/Change PIN dialog. The user's selection is then written to usagestats under ClientStateMedium key. BUG=130678 Review URL: https://chromiumcodereview.appspot.com/10537182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143504 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support of [in] [out] parameters to remoting::dispatch::Invoke().alexeypa@chromium.org2012-06-212-29/+80
| | | | | | | | | BUG=131498 Review URL: https://chromiumcodereview.appspot.com/10532143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143443 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old Sleep and PostDelayedTask interfaces that use int ms instead of ↵tedvessenes@gmail.com2012-06-212-24/+0
| | | | | | | | | | | | TimeDelta. The previous version of this patch was reverted due to crashing cros_x86 and cros_tegra2 builds. See: http://codereview.chromium.org/9703053/ BUG=108171 Review URL: https://chromiumcodereview.appspot.com/10572030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143401 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add a HostStatusObserver to the ChromotingHost unit tests.simonmorris@chromium.org2012-06-213-9/+78
| | | | | | | | | This CL depends on codereview.chromium.org/10583022. Review URL: https://chromiumcodereview.appspot.com/10592004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143337 0039d316-1c4b-4281-b951-d872f2087c98
* Removing incorrect usage of TO_L_STRING() macros.alexeypa@chromium.org2012-06-2010-58/+51
| | | | | | | | BUG=133003 Review URL: https://chromiumcodereview.appspot.com/10579034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143194 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up-scaling case to early-exit if no updates are within clip area.wez@chromium.org2012-06-201-0/+6
| | | | | | | | | | | The RectangleUpdateDecoder expects Decoders to report an empty update region if no updates lay within the clip area, to provide rendering flow-control. The VP8 Decoder was always reporting the entire frame as having been rendered when up-scaling, resulting in continuous re-rendering of the frame. BUG=116835,133609 TEST=Run Chromoting client with page-zoom >100% to a host with little or no changes happening on-screen and verify that the client's CPU usage is not >50%. Review URL: https://chromiumcodereview.appspot.com/10576017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143132 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Make the sequence expectations in the ChromotingHost unit testssimonmorris@chromium.org2012-06-201-102/+81
| | | | | | | | | | | more accurate. This is a follow-up to r143005. Review URL: https://chromiumcodereview.appspot.com/10583022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143098 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash on it2me disconnect on the mac.dcaiafa@chromium.org2012-06-201-3/+11
| | | | | | | | | | | | | | | | | | | In it2me, the destructor of EventExecutor does not get called in the same thread from where it's used. This is causing the Timer object used in EventExecutorMac to CHECK in the destructor because it requires that it be destroyed in the same thread where it was first started - even if it has already been stopped. So instead of reusing the Timer and starting and stopping it on demand, EventExecutorMac will now create and destroy the timer on session start and stop, respectively. BUG=133017 TEST=Connect and disconnect with it2me. Repeat with me2me. Review URL: https://chromiumcodereview.appspot.com/10557012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143089 0039d316-1c4b-4281-b951-d872f2087c98
* Pull Mac Chromoting Host constants into a header filelambroslambrou@chromium.org2012-06-196-43/+63
| | | | | | | | | | | | | | | Many definitions were shared between the Mac pref-pane and the DaemonController (and also the uninstaller app). This CL consolidates them into one place. BUG=none TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10557026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143056 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Set expectations for MockEventExecutor::OnSessionStarted.simonmorris@chromium.org2012-06-193-2/+29
| | | | | | | | | | | This compensates for a regression in r139854. A follow-up CL will set sequence expectations more accurately. Review URL: https://chromiumcodereview.appspot.com/10566033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143005 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the Chromoting client plugin to support up-scaling, albeit slowly.wez@chromium.org2012-06-183-10/+48
| | | | | | | | | BUG=116138 Review URL: https://chromiumcodereview.appspot.com/9568048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142853 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Fix 10.5 bots by not running unittests on 10.5.garykac@chromium.org2012-06-181-0/+13
| | | | | | | Chromoting doesn't support 10.5 or earlier. Review URL: https://chromiumcodereview.appspot.com/10580007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142838 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore errors when installing the firewall exception for Chromoting Host.alexeypa@chromium.org2012-06-181-1/+1
| | | | | | | | | | | | WiX Firewall Extension fails if the Windows Firewall service is not started, see http://sourceforge.net/tracker/index.php?func=detail&aid=2077095&group_id=105970&atid=642714 BUG=132887 Review URL: https://chromiumcodereview.appspot.com/10566012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142828 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add cursor shape support for Windowsgarykac@chromium.org2012-06-181-4/+195
| | | | | | | | BUG=116299 TEST=none Review URL: https://chromiumcodereview.appspot.com/10562031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142823 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add Mac host support for sending cursor shape to client.garykac@chromium.org2012-06-182-1/+110
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10539035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142818 0039d316-1c4b-4281-b951-d872f2087c98
* C++ readability review fixes for r141239: Make Chromoting Host report ↵alexeypa@chromium.org2012-06-1614-166/+177
| | | | | | | | | | | crashes to Breakpad (Windows only). BUG=130678 TEST=remoting_unittests.BreakpadWinDeathTest Review URL: https://chromiumcodereview.appspot.com/10535082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142581 0039d316-1c4b-4281-b951-d872f2087c98