summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Added official translations for M16.jamiewalch@google.com2011-11-0741-41/+41
| | | | | | | | | BUG=100887 TEST=Manual Review URL: http://codereview.chromium.org/8455003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108891 0039d316-1c4b-4281-b951-d872f2087c98
* Gather history of capture and encode time determine next recoring delayhclam@chromium.org2011-11-076-100/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current logic of chromoting is to capture as fast as possible with 20fps as a hard limit. This creates a heavy load on the slower systems with only one processor. I measured 100% CPU load running on these systems, resulting in very jerky performance. In addition to speed up capture and encode we should use system load and configurations as an information to determine recording frequency. In this patch I used the number of processors and history of capture and encode time to determine the next recording delay. This essentially lower recoding frequency when system is under load or is incapable to catch up with the current 20fps frequency. I have tested this patch on a Linux system limited to single core and intentionally added extra 70ms of while(1) loop in capture and encode to simulate slow processing. The results are as follows: CPU load Latency Before 100% 440ms After ~50% 360ms So as a result both CPU load and latency improved. BUG=100314 TEST=remoting_unittests and manually test with with heavily loaded system Review URL: http://codereview.chromium.org/8342040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108871 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SecureP2PSocket, since we'll be using DTLS in future.wez@chromium.org2011-11-054-525/+0
| | | | | | | | | BUG=90802 Review URL: http://codereview.chromium.org/8477020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108792 0039d316-1c4b-4281-b951-d872f2087c98
* Add verify-translations.py script.wez@chromium.org2011-11-051-0/+49
| | | | | | Review URL: http://codereview.chromium.org/8475019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108791 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in ClientSessionTestsergeyu@chromium.org2011-11-051-2/+0
| | | | | | | | | | | TEST=valgrind is happy BUG=None TBR=wez@chromium.org Review URL: http://codereview.chromium.org/8478023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108787 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old Authentication code that we don't use or need.sergeyu@chromium.org2011-11-0536-479/+80
| | | | | | | | | | | | Also removed some auth-related protobufs that we don't currenly use. BUG=None TEST=IT2Me still works. Review URL: http://codereview.chromium.org/8351084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108759 0039d316-1c4b-4281-b951-d872f2087c98
* React to error messages received in response to transport-info.sergeyu@chromium.org2011-11-052-3/+23
| | | | | | | | | | BUG=100822 TEST=client disconnects when host dies. Review URL: http://codereview.chromium.org/8437017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108754 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak in IqSenderTest.sergeyu@chromium.org2011-11-042-4/+6
| | | | | | | | | BUG=102983 TEST=No leak Review URL: http://codereview.chromium.org/8481011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108737 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor IqRequest.sergeyu@chromium.org2011-11-0429-456/+485
| | | | | | | | | | | | | | Remove CreateIqRequest from SignalStrategy interface. Intead to send an Iq stanza the new IqSender now need to be used. IqSender creats of IqRequest objects and handling iq responses. BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/8432009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108606 0039d316-1c4b-4281-b951-d872f2087c98
* Centre the disconnect dialog at the bottom of the primary monitor.jamiewalch@chromium.org2011-11-031-24/+39
| | | | | | | | | BUG=101178 TEST=Manual Review URL: http://codereview.chromium.org/8438056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108540 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed UX on ChromeOS.jamiewalch@google.com2011-11-034-25/+24
| | | | | | | | | BUG=None TEST=Check that Share Now is disabled on ChromeOS, with accompanying text explaining why. Review URL: http://codereview.chromium.org/8439063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108527 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing closing brace to img tag.wez@chromium.org2011-11-031-1/+1
| | | | | | Review URL: http://codereview.chromium.org/8450003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108518 0039d316-1c4b-4281-b951-d872f2087c98
* Add client_screen.js to I18N verification.wez@chromium.org2011-11-031-0/+2
| | | | | | Review URL: http://codereview.chromium.org/8439066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108489 0039d316-1c4b-4281-b951-d872f2087c98
* Small web-app clean-ups.jamiewalch@chromium.org2011-11-035-35/+34
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8351080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108381 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Chromoting Host plugin's MIME type on Linux.wez@chromium.org2011-11-031-1/+1
| | | | | | | | | The MIME type had acquired double-quotes in a recent CL, preventing the plugin from being detected and loaded. Review URL: http://codereview.chromium.org/8387055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108376 0039d316-1c4b-4281-b951-d872f2087c98
* An ugly but working host-list implementation for the Chromoting app.wez@chromium.org2011-11-034-0/+225
| | | | | | | | | | | | | | | Hosts will have a Connect button if online, and the text Offline otherwise. The host list will display only once one or more hosts are registered, for now. Connection setup code still needs to be rationalized between the two modes. The necessary host-side changes will arrive in a separate CL. Review URL: http://codereview.chromium.org/8432021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108375 0039d316-1c4b-4281-b951-d872f2087c98
* Make Mac Chromoting Disconnect Window look good for R2L systems.dmaclach@chromium.org2011-11-024-35/+132
| | | | | | | | | | BUG=NONE TEST=Try chromoting in arabic. Review URL: http://codereview.chromium.org/8364025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108360 0039d316-1c4b-4281-b951-d872f2087c98
* removing unnecessary includeamit@chromium.org2011-11-021-1/+0
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8386018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108343 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure curtain mode doesn't lock up MacOS 10.7dmaclach@chromium.org2011-11-012-12/+24
| | | | | | | | | | | | Also adds some extra error logging. BUG=None TEST=Go into curtain mode on 10.7 and then disconnect the session. Review URL: http://codereview.chromium.org/8384011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108184 0039d316-1c4b-4281-b951-d872f2087c98
* Make ContinueWindow on Mac terminate after timeoutdmaclach@chromium.org2011-11-011-64/+91
| | | | | | | | | | BUG=100928 TEST=see bug Review URL: http://codereview.chromium.org/8423018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108182 0039d316-1c4b-4281-b951-d872f2087c98
* Change linux NAT traversal default for Chromoting.dmaclach@chromium.org2011-11-011-12/+0
| | | | | | | | | | | | | The NAT traversal default for all platforms is now true. BUG=97689 TEST=None Review URL: http://codereview.chromium.org/8423020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108181 0039d316-1c4b-4281-b951-d872f2087c98
* Make LazyInstance managed Locks leaky.thestig@chromium.org2011-11-012-2/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8430019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108159 0039d316-1c4b-4281-b951-d872f2087c98
* Make X509Certificate::GetDEREncoded a static function taking an OSCertHandlersleevi@chromium.org2011-11-011-3/+5
| | | | | | | | | | | | | | | | Rather than require an X509Certificate*, which has additional processing overhead, make X509Certificate::GetDEREncoded a static function which takes an OSCertHandle. Callers which already have an X509Certificate* can easily use ->os_cert_handle(), while those that have an OSCertHandle, such as by way of GetIntermediateCertificates(), can use the OSCertHandle directly. BUG=91464 TEST=none Review URL: http://codereview.chromium.org/8414047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108067 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle 88:92sergeyu@chromium.org2011-11-013-3/+3
| | | | | | | | | | | | | | Beside other changes the new version of libjingle has thread-safe QName class and has all std::string and QName statics removed. BUG=94993,102451 TEST=Compiles Review URL: http://codereview.chromium.org/8413059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108065 0039d316-1c4b-4281-b951-d872f2087c98
* Don't send a session-terminate in disconnect() if WCS not initialised.wez@chromium.org2011-11-011-14/+14
| | | | | | | | | sendIq_() requires that WCS is initialized when it is called, otherwise it will switch the session into the "failed" state. (The state change causes a disconnect() call, which triggers a sendIq_() and the tab locks up.) Review URL: http://codereview.chromium.org/8427020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108061 0039d316-1c4b-4281-b951-d872f2087c98
* Get web-app name, MIME type and description from gyp file for all platforms, ↵jamiewalch@google.com2011-10-315-53/+58
| | | | | | | | | | | and brand correctly. BUG=101469 TEST=Manual Review URL: http://codereview.chromium.org/8418039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107986 0039d316-1c4b-4281-b951-d872f2087c98
* Expose the sandbox related code through the content API. I did a bit of ↵jam@chromium.org2011-10-291-9/+7
| | | | | | | | | | | | | cleanup while I was doing this. -got rid of SandboxInitWrapper, since I didn't see a need to expose given that we can just expose sandbox::SandboxInterfaceInfo -got rid of the duplicated code to initialize the broker -since I made MainFunctionParams only have the sandbox struct on Windows, I also made the mac specific auto release pool behind an ifdef as well. It seemed odd to make something so mac specific compile on all platforms to save some #ifdefs. BUG=98716 Review URL: http://codereview.chromium.org/8414020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107863 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored web-appjamiewalch@chromium.org2011-10-2813-773/+1111
| | | | | | | | | | BUG=None TEST=Everything still works! Review URL: http://codereview.chromium.org/8416007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107673 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing parameter to function.jamiewalch@google.com2011-10-271-1/+1
| | | | | | | | | BUG=None TEST=Access codes can be checked again. Review URL: http://codereview.chromium.org/8402010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107485 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed javascript to compile again.jamiewalch@google.com2011-10-262-3/+6
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/8395032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107388 0039d316-1c4b-4281-b951-d872f2087c98
* Improve error handling if the cached access token is invalid.jamiewalch@google.com2011-10-264-36/+44
| | | | | | | | | BUG=92433 TEST=Manual Review URL: http://codereview.chromium.org/8396045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107381 0039d316-1c4b-4281-b951-d872f2087c98
* Disable autocomplete on the access code entry widget.jamiewalch@google.com2011-10-261-1/+4
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8394052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107369 0039d316-1c4b-4281-b951-d872f2087c98
* Pass current state to callback.jamiewalch@google.com2011-10-262-6/+11
| | | | | | | | | BUG=92433 TEST=Manual Review URL: http://codereview.chromium.org/8395022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107266 0039d316-1c4b-4281-b951-d872f2087c98
* Add remoting_linux_symbols target.lambroslambrou@chromium.org2011-10-261-0/+40
| | | | | | | | | | | | | Add GYP target for building Breakpad symbols for Remoting Host plugin on Linux. BUG=87632 TEST=Manual: "build/gyp_chromium --check", and build new target. Review URL: http://codereview.chromium.org/8390015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107252 0039d316-1c4b-4281-b951-d872f2087c98
* Show framerate in chromoting debug loghclam@chromium.org2011-10-257-7/+20
| | | | | | | | | | | | | | Add frame rate as a statistic that we collect. This can be used to determine the size of video frames that we're sending. Frame rate recorded is the number of frames received per second but not the frame rate displayed. BUG=None TEST=chromoting runs just fine Review URL: http://codereview.chromium.org/8310001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107121 0039d316-1c4b-4281-b951-d872f2087c98
* Remove exe permission.jamiewalch@chromium.org2011-10-251-0/+0
| | | | | | | | | BUG=None TEST=check_perms is green Review URL: http://codereview.chromium.org/8382025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107024 0039d316-1c4b-4281-b951-d872f2087c98
* Initial prototype minus drop-shadow.jamiewalch@chromium.org2011-10-242-28/+131
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8356032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107011 0039d316-1c4b-4281-b951-d872f2087c98
* Updated English strings for testing.jamiewalch@google.com2011-10-241-1/+1
| | | | | | | | | BUG=100887 TEST=Check that the initial 'home screen' has text. Review URL: http://codereview.chromium.org/8382020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107005 0039d316-1c4b-4281-b951-d872f2087c98
* Fix check for existing host log handler. [Chromoting]garykac@chromium.org2011-10-221-1/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8349021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106819 0039d316-1c4b-4281-b951-d872f2087c98
* Always show continue window.sergeyu@chromium.org2011-10-212-45/+39
| | | | | | | | | | | | | | | | Problem was that the timer function was checking Time::Now() to verify whether it should run or not. On some systems the task may be called several milliseconds before the target time, which means that Time::Now() would return time before |continue_timer_target_time_| and the window wouldn't show. BUG=100729 TEST=Continue windows shows every time. Review URL: http://codereview.chromium.org/8366011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106672 0039d316-1c4b-4281-b951-d872f2087c98
* Merge IqRequest implementations.sergeyu@chromium.org2011-10-2115-314/+164
| | | | | | | | | | | | Removed XmppIqRequest and renamed JavascriptIqRequest to IqRequest. BUG=None TEST=None Review URL: http://codereview.chromium.org/8345031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106667 0039d316-1c4b-4281-b951-d872f2087c98
* Check pid to filter echoes of mouse events injected by the Chromoting host.jamiewalch@chromium.org2011-10-211-3/+6
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8365007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106665 0039d316-1c4b-4281-b951-d872f2087c98
* Remove RemoteAccessClientFirewallTraversal policy and code paths.wez@chromium.org2011-10-202-124/+1
| | | | | | | | | BUG=96318 TEST= Review URL: http://codereview.chromium.org/8275012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106521 0039d316-1c4b-4281-b951-d872f2087c98
* Updated version to 1.3jamiewalch@chromium.org2011-10-201-1/+1
| | | | | | | | | | BUG=100954 TEST=Manual Review URL: http://codereview.chromium.org/8357027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106466 0039d316-1c4b-4281-b951-d872f2087c98
* New disconnect window (mac) for Chromoting.dmaclach@chromium.org2011-10-193-37/+169
| | | | | | | | | | | | | Implements the new and improved disconnect window for Mac for Chromoting. BUG=NONE TEST=Show disconnect window on mac. Review URL: http://codereview.chromium.org/8333003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106347 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly report errors when connection fails.sergeyu@chromium.org2011-10-191-5/+5
| | | | | | | | | | | | ClientSession previous didn't set error property correctly. BUG=91402 TEST=Correct error is shown when user enters invalid access code. Review URL: http://codereview.chromium.org/8342022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106224 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in XmppSignalStrategy.sergeyu@chromium.org2011-10-191-0/+12
| | | | | | | | | | | | XmppClient destroys itself when connection is closed. Session objects are destroyed later and may still try to send a message. XmppSignalStrategy didn't handle this case properly. BUG=100733 TEST=See repro steps in the bug. Review URL: http://codereview.chromium.org/8344006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106177 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Split XWindows scrollwheel -> button function and use abs().garykac@chromium.org2011-10-181-8/+8
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8333005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106137 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented local input monitor for mac.jamiewalch@chromium.org2011-10-181-22/+65
| | | | | | | | | | BUG=96650 TEST=Manual Review URL: http://codereview.chromium.org/8220020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106117 0039d316-1c4b-4281-b951-d872f2087c98
* Improve web-app typing.jamiewalch@google.com2011-10-1811-148/+245
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8336004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106072 0039d316-1c4b-4281-b951-d872f2087c98