summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Revert 165605 - Fix branding in chromoting string resources.hbono@chromium.org2012-11-027-160/+262
| | | | | | | | | | | | | | | | | When chromoting resources were converted from messages.json to .grd format incorrect branding was used. Beside that simplified how resources are generated: 1. Now <if> is used to handle branded strings instead of generating grd file in build time 2. Removed resource_ids - ids are now specified in grd files. BUG=158995 Review URL: https://chromiumcodereview.appspot.com/11275101 TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/11359035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165611 0039d316-1c4b-4281-b951-d872f2087c98
* Fix branding in chromoting string resources.sergeyu@chromium.org2012-11-027-262/+160
| | | | | | | | | | | | | | When chromoting resources were converted from messages.json to .grd format incorrect branding was used. Beside that simplified how resources are generated: 1. Now <if> is used to handle branded strings instead of generating grd file in build time 2. Removed resource_ids - ids are now specified in grd files. BUG=158995 Review URL: https://chromiumcodereview.appspot.com/11275101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165605 0039d316-1c4b-4281-b951-d872f2087c98
* Implement resize-to-client for Windows hosts.wez@chromium.org2012-11-021-20/+139
| | | | | | | | | BUG=157900 Review URL: https://chromiumcodereview.appspot.com/11305020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165596 0039d316-1c4b-4281-b951-d872f2087c98
* Add executable bit to remoting/tools/win/chromoting-set-channel.bat to pass ↵tzik@chromium.org2012-11-021-0/+0
| | | | | | | | | | | permission check on buildbot. BUG=None TBR=garykac@chromium.org Review URL: https://codereview.chromium.org/11275118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165590 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Handle a response status 0 for a list-hosts request more helpfully.simonmorris@chromium.org2012-11-021-1/+3
| | | | | | | | BUG=158786 Review URL: https://codereview.chromium.org/11360053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165578 0039d316-1c4b-4281-b951-d872f2087c98
* Calling SendSAS() from a service to make sure that Secure Attention Sequence ↵alexeypa@chromium.org2012-11-0211-34/+112
| | | | | | | | | | | can be injected even when UAC is disabled. BUG=158625 Review URL: https://chromiumcodereview.appspot.com/11369024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165565 0039d316-1c4b-4281-b951-d872f2087c98
* Don't invoke DesktopResizer::SetSize() if the size isn't changing.wez@chromium.org2012-11-012-20/+38
| | | | | | | | | | | | | | | | This avoids window flicker on platforms which re-render all windows when the display settings are set, even if they haven't actually changed, such as Windows. This CL incidentally renames MockDesktopResizer to FakeDesktopResizer in the ResizingHostObserver unit-test implementation. BUG=157900 Review URL: https://chromiumcodereview.appspot.com/11340002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165546 0039d316-1c4b-4281-b951-d872f2087c98
* Do not use GetNamedPipeClientProcessId() which is available starting from ↵alexeypa@chromium.org2012-11-011-3/+7
| | | | | | | | | | | Vista on Windows XP. BUG=158997 Review URL: https://chromiumcodereview.appspot.com/11358044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165543 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Script to switch release channels on Windows.garykac@chromium.org2012-11-011-0/+49
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11145028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165530 0039d316-1c4b-4281-b951-d872f2087c98
* remoting: Update calls froms RunAllPending() to RunUntilIdle().tfarina@chromium.org2012-11-019-43/+43
| | | | | | | | | | | BUG=131220 TEST=remoting_unittests R=sergeyu@chromium.org,wez@chromium.org Review URL: https://chromiumcodereview.appspot.com/11364031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165528 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid letterboxing when connecting to multi-monitor hosts in full-screen.wez@chromium.org2012-11-011-13/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | Scaling a multi-monitor desktop to fit a single-monitor client ("scale-to-fit") results in the desktop being letter-boxed, leaving much of the client area unused. In this case the client now prefers to scale to fit the smaller host dimension, and have the user pan to see other parts of the host desktop ("scale-and-pan"). Scale-and-pan is used only in full-screen mode, when the client dimensions match those of a client device monitor, and bump-scrolling can be used to pan around. Scale-and-pan will be used when less than 65% of the client area would be occupied by the desktop if we were to scale-to-fit. For example: C: 1280x800 H: 1280x1024 -> scale-to-fit C: 1280x800 H: (2x1280)x1024 -> scale-and-pan (horizontal) C: 1280x1024 H: 1600x1200 -> scale-to-fit C: 1600x1200 H: 1280x(2x1024) -> scale-and-pan (vertical) BUG=145709 Review URL: https://chromiumcodereview.appspot.com/11369023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165515 0039d316-1c4b-4281-b951-d872f2087c98
* Convert cursors captured on Windows to premultiplied alpha.wez@chromium.org2012-11-011-6/+15
| | | | | | | | | BUG=137112 Review URL: https://chromiumcodereview.appspot.com/11336007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165504 0039d316-1c4b-4281-b951-d872f2087c98
* Use correct thread for audio capturing and encoding.sergeyu@chromium.org2012-11-018-1/+15
| | | | | | | | | | Previously video capture thread was passed to AudioScheduler instead of the dedicated audio thread. Fixed ChromotingHost so that the correct thread is given to AudioScheduler. BUG=157992 Review URL: https://codereview.chromium.org/11260053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165426 0039d316-1c4b-4281-b951-d872f2087c98
* Don't colour visited links differently.jamiewalch@chromium.org2012-11-011-4/+0
| | | | | | | | | | | (As requested by UX) BUG=None Review URL: https://chromiumcodereview.appspot.com/11293032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165408 0039d316-1c4b-4281-b951-d872f2087c98
* Add net/base/test_data_directory.htoyoshim@chromium.org2012-11-012-2/+2
| | | | | | | | | | | | - move GetTestCertsDirectory() from net/base/certs_test_util BUG=157531 TEST=build all TBR=wtc@chromium.org Review URL: https://chromiumcodereview.appspot.com/11342034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165348 0039d316-1c4b-4281-b951-d872f2087c98
* Fix AudioCapturer implementation to read from audio pipe even when there are ↵sergeyu@chromium.org2012-11-017-182/+309
| | | | | | | | | | | | | | | | no active clients. Pulseaudio blocks playback when the host stops reading from the audio pipe. Previously the host was reading from the pipe only when there is an active client. Fixed the capturer to always read from the pipe, so that we don't halt playback when user disconnects. Also changed sampling rate to 48000 to avoid resampling in the host. BUG=153090 Review URL: https://codereview.chromium.org/11316010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165275 0039d316-1c4b-4281-b951-d872f2087c98
* Resize host desktop to match client dimensions.jamiewalch@chromium.org2012-10-312-13/+16
| | | | | | | | | | | | This allows a remote user to make best use of their desktop, without needing either to scroll around it or to scale it down to fit their client device. BUG=110212 Review URL: https://chromiumcodereview.appspot.com/11336024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165086 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Stop the Linux policy watcher treating a failure to read policiessimonmorris@chromium.org2012-10-311-10/+15
| | | | | | | | | | | in the same way as reading the default values of all polices. BUG=155381 Review URL: https://chromiumcodereview.appspot.com/11338044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165084 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Stop the Windows host configurer trying to use an empty auth code.simonmorris@chromium.org2012-10-311-0/+3
| | | | | | | | | BUG=158611 Review URL: https://chromiumcodereview.appspot.com/11344044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165080 0039d316-1c4b-4281-b951-d872f2087c98
* Remove before-unload prompt from Me2Me client mode.wez@chromium.org2012-10-311-3/+7
| | | | | | | | | BUG=158407 Review URL: https://chromiumcodereview.appspot.com/11336003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165075 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Make the AuthCodeGetter component of the Windows host configurersimonmorris@chromium.org2012-10-302-8/+4
| | | | | | | | | | | use ScopedComPtr correctly. BUG=158611 Review URL: https://chromiumcodereview.appspot.com/11343050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165061 0039d316-1c4b-4281-b951-d872f2087c98
* Move Chromoting strings to string_resources.grd.sergeyu@chromium.org2012-10-3090-16746/+5554
| | | | | | | | | | | | Previously all strings were in messages.json files. Moving them to GRD file will allow to share them with native components. Also added script that I used to convert translations - to make it easier to review this CL and just in case we need it again in the future. Review URL: https://chromiumcodereview.appspot.com/11150008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165041 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add a username policy, and implement it for the Linux Me2Me host.simonmorris@chromium.org2012-10-307-15/+81
| | | | | | | | | BUG=158080 Review URL: https://chromiumcodereview.appspot.com/11341032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165036 0039d316-1c4b-4281-b951-d872f2087c98
* Disable resize-to-client on non-Linux systems.jamiewalch@chromium.org2012-10-301-0/+5
| | | | | | | | | BUG=110212 Review URL: https://chromiumcodereview.appspot.com/11345014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164829 0039d316-1c4b-4281-b951-d872f2087c98
* remoting/host: Remove forbidden using namespace directive.tfarina@chromium.org2012-10-301-1/+3
| | | | | | | | | | | Instead just wrap the source file into the remoting namespace. R=sergeyu@chromium.org NOTRY=True Review URL: https://chromiumcodereview.appspot.com/11273089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164805 0039d316-1c4b-4281-b951-d872f2087c98
* remoting/host: Remove nonexistent entry from DEPS list.tfarina@chromium.org2012-10-291-1/+0
| | | | | | | | | R=alexeypa@chromium.org,sergeyu@chromium.org NOTRY=True Review URL: https://codereview.chromium.org/11343021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164745 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling libjingle r220.ronghuawu@chromium.org2012-10-292-4/+4
| | | | | | | TEST=apprtc and try bots Review URL: https://codereview.chromium.org/11273088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164726 0039d316-1c4b-4281-b951-d872f2087c98
* Add timout for the stop command in the chromoting init script.sergeyu@chromium.org2012-10-271-1/+18
| | | | | | | | | | | | Remoting host shutdown may timeout in some environment (e.g. when home directories are on NFS). Ignore this error. BUG=153090 Review URL: https://chromiumcodereview.appspot.com/11313015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164510 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused constant in IT2Me host implementation.wez@chromium.org2012-10-271-5/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11309016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164501 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented local login check for PAM (only enabled on Linux for now).jamiewalch@chromium.org2012-10-274-0/+204
| | | | | | | | | BUG=157935 Review URL: https://chromiumcodereview.appspot.com/11276040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164478 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Make the HostStarter unregister a new host if it couldn't start it.simonmorris@chromium.org2012-10-274-9/+80
| | | | | | | | | BUG=153453 Review URL: https://chromiumcodereview.appspot.com/11193045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164468 0039d316-1c4b-4281-b951-d872f2087c98
* Pause/resume the VideoScheduler in response to messages from the client.wez@chromium.org2012-10-273-6/+32
| | | | | | | | | | BUG=107285 TEST=Manually verify that Chromoting video channel throughput drops to zero if the client's window is switched to a different tab while a video is playing at the host. Review URL: https://chromiumcodereview.appspot.com/11265032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164467 0039d316-1c4b-4281-b951-d872f2087c98
* Remove GaiaOauthClient and GaiaUserEmailFetcher from remoting.sergeyu@chromium.org2012-10-2710-527/+60
| | | | | | | | | The OAuth functionality remoting needs is implemented in google_api module. There is no need to duplicate it in remoting. Review URL: https://codereview.chromium.org/11273024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164461 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up remoting::VideoScheduler implementation: wez@chromium.org2012-10-2611-363/+225
| | | | | | | | | | | | | | | | - Reduce thread-switching in VideoScheduler::Stop(). - Simplify VideoScheduler API and clean up implementation. - Tidy up ClientSessionTest test base. - Rename SessionConfig::GetDefault() to ForTest(). This was originally reviewed as crrev.com/11229023. BUG=104543 Review URL: https://chromiumcodereview.appspot.com/11273051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164409 0039d316-1c4b-4281-b951-d872f2087c98
* Build real dSYM for remoting_me2me_hostlambroslambrou@chromium.org2012-10-261-0/+8
| | | | | | | | | | BUG=136579 TEST=Check that remoting_me2me_host.app.dSYM plist doesn't have fake_dsym. Review URL: https://chromiumcodereview.appspot.com/11265040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164390 0039d316-1c4b-4281-b951-d872f2087c98
* Use PpCompletionCallback in PepperPortAllocatorSession.sergeyu@chromium.org2012-10-262-39/+23
| | | | | | | | | | | | | Pepper may call callbacks even after the corresponding resource is destroyed. PepperPortAllocatorSession didn't handle this case properly. Fixed it by using PpCompletionCallback and weak pointers. BUG=157404 Review URL: https://chromiumcodereview.appspot.com/11233071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164355 0039d316-1c4b-4281-b951-d872f2087c98
* Fix inline javascript code.rmsousa@chromium.org2012-10-261-1/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11269028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164342 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ScreenRecorder to VideoScheduler.wez@chromium.org2012-10-266-106/+111
| | | | | | | | | BUG=104543 Review URL: https://chromiumcodereview.appspot.com/11229023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164282 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing threading issues in remoting::DesktopProcess. The UI thread is now ↵alexeypa@chromium.org2012-10-264-82/+132
| | | | | | | | | | owned by the caller of remoting::DesktopThread so it can be properly shared between the caller and the class. BUG=157808,157886 Review URL: https://codereview.chromium.org/11272036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164243 0039d316-1c4b-4281-b951-d872f2087c98
* Fix remoting me2me host to properly process --host-config option.sergeyu@chromium.org2012-10-251-0/+6
| | | | | | | | | Me2Me host was broken in crrev.com/163915 - the code that parses --host-config parameter was removed by mistake. Adding it back. Review URL: https://codereview.chromium.org/11260034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164145 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old unused OAuth client id from remoting_me2me_host.ccsergeyu@chromium.org2012-10-251-4/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11269024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164096 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] The desktop process now creates a pre-connected pipe and passes ↵alexeypa@chromium.org2012-10-2531-325/+1264
| | | | | | | | | | | | | | | | | | (with some help of the daemon) its client-end handle to the network process. The network process will request screen/audio capturing and input injection services using the created channel. Accompanying changes: - The daemon can request other processes to crash in response to critical protocol errors. - Both network and desktop processes exit if the connection to the daemon has been disconnected. - CreateConnectedIpcChannel() function moved to remoting/host/win/launch_process_with_token.h - IPC::Channel::GenerateUniqueRandomChannelID() is used to generate a unique channel name. - Added unit tests for DesktopProcess. - Made 'remote_desktop' compilable on all platforms. BUG=134694 Review URL: https://chromiumcodereview.appspot.com/11231060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164006 0039d316-1c4b-4281-b951-d872f2087c98
* Step #1: Move HostProcess method implementations out-of-line.wez@chromium.org2012-10-241-527/+579
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11228060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163915 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanups in remoting::HostStarter.sergeyu@chromium.org2012-10-243-41/+31
| | | | | | | | | | | | | | several minor cleanups in the HostStarter class: - Removed START_IN_PROGRESS result code and replaced it with DCHECK. - Removed in_progress_ flag. - Cleaned up how on_done_ callback is called - class members must not be used after the callback is called. - Added TODO for more cleanups. Review URL: https://chromiumcodereview.appspot.com/11227062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163893 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the remoting_simple_host target.wez@chromium.org2012-10-232-488/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11228061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163728 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Change ScreenRefresh to use 'if' instead of 'DCHECK'.garykac@chromium.org2012-10-231-1/+3
| | | | | | | | BUG=154716 Review URL: https://chromiumcodereview.appspot.com/11235072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163727 0039d316-1c4b-4281-b951-d872f2087c98
* Crash the network process when a fatal daemon-to-network protocol error ↵alexeypa@chromium.org2012-10-236-42/+63
| | | | | | | | | | | | | | | encountered. Advantages of this approach: - We will be getting crash reports from the field when fatal mistakes happen. - The exponential backoff counter will not be reset. BUG=134694 Review URL: https://chromiumcodereview.appspot.com/11234034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163702 0039d316-1c4b-4281-b951-d872f2087c98
* Improve codec tests to test a broader variety of dimensions.wez@chromium.org2012-10-231-10/+16
| | | | | | | | | BUG=147522 Review URL: https://chromiumcodereview.appspot.com/11195062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163679 0039d316-1c4b-4281-b951-d872f2087c98
* Add opus audio codec support in remotingsergeyu@chromium.org2012-10-2310-0/+684
| | | | | | | | BUG=154714 Review URL: https://codereview.chromium.org/11189047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163675 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 163650 - Add opus audio codec support in remotingsergeyu@chromium.org2012-10-2310-684/+0
| | | | | | | | | | | | BUG=154714 Review URL: https://chromiumcodereview.appspot.com/11189047 TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/11252002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163661 0039d316-1c4b-4281-b951-d872f2087c98