summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Add basic video stats to Chromoting client status bar.garykac@chromium.org2011-04-131-1/+28
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6838005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81461 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r61181.agl@chromium.org2011-04-121-1/+0
| | | | | | | | | | This reverts r61181 although, due to the age of that revision, the revert was mostly done manually. This is the start of ripping out Snap Start support. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81288 0039d316-1c4b-4281-b951-d872f2087c98
* 1;2cReplace PP_ERROR_WOULDBLOCK with PP_OK_COMPLETIONPENDING. Improve error ↵polina@google.com2011-04-111-2/+2
| | | | | | | | | | code comments. Update all code that uses this error code. Keep the old code for now flagging it as deprecated. Update copyrights. BUG=none TEST=bots Review URL: http://codereview.chromium.org/6814033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81168 0039d316-1c4b-4281-b951-d872f2087c98
* Update wording to be more specific about the type of password required.ajwong@chromium.org2011-04-111-2/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6823052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81157 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromoting app-engine to invoke sandboxed connections.ajwong@chromium.org2011-04-076-6/+138
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6758043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80733 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang buildhclam@chromium.org2011-04-052-0/+4
| | | | | | | | | | Adding virtual destructor for ChromotingStats. BUG=None TEST=None TBR=ajwong git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80535 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakshclam@google.com2011-04-051-5/+5
| | | | | | | | | | | | | Adding statis_cast from int64 to int. TBR=ajwong BUG=None TEST=None Review URL: http://codereview.chromium.org/6798001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80525 0039d316-1c4b-4281-b951-d872f2087c98
* Report capture and encode time for chromotinghclam@google.com2011-04-0514-23/+87
| | | | | | | | | | | Add hooks to record these numbers and report them in the client. BUG=None TEST=None Review URL: http://codereview.chromium.org/6767009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80516 0039d316-1c4b-4281-b951-d872f2087c98
* Report decode and render latency for Chromotinghclam@google.com2011-04-058-12/+57
| | | | | | | | | | | Uses RunningAverage to record these numbers, added JS interface for reporting. BUG=None TEST=None Review URL: http://codereview.chromium.org/6767002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80515 0039d316-1c4b-4281-b951-d872f2087c98
* Measure bandwidth for chromoting video channelhclam@google.com2011-04-0513-3/+302
| | | | | | | | | | | | | | | Define RunningAverage, TimedRunningAverage and use that to record video bandwidth. This doesn't account for overhead of protobuf envelop. However the number should be small that can be ignored. BUG=None TEST=None Review URL: http://codereview.chromium.org/6736009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80486 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up remoting projectdmaclach@chromium.org2011-04-0443-1036/+723
| | | | | | | | | | | | | | Cleaned up some file names so it simplifies our project, and gets us more inline with chromium standards. Removed several unnecessary headers that were cluttering the remoting namespace. Simplified some of the double pimpl implementations that we had on Linux to hide X11 stuff. Got HostAuthentication working reasonably well as a mock. BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/6780014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80385 0039d316-1c4b-4281-b951-d872f2087c98
* The mock input stub deletes the done task.simonmorris@chromium.org2011-04-041-0/+4
| | | | | | | | | BUG=78069 TEST=valgrind's "memory test:remoting" Review URL: http://codereview.chromium.org/6783021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80302 0039d316-1c4b-4281-b951-d872f2087c98
* Correction for r80070: call DoStartSession(), enable TCP.sergeyu@chromium.org2011-04-011-3/+5
| | | | | | | | | TEST=remoting connection works BUG=None Review URL: http://codereview.chromium.org/6706024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80197 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug in CapturerFake introduced in r79679.simonmorris@chromium.org2011-04-011-2/+1
| | | | | | | | | | | | Valgrind found the bug; remove valgrind suppressions added in r79694 and r79696. BUG=77768 TEST=valgrind's "memory test:remoting" Review URL: http://codereview.chromium.org/6777008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80147 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Disable NAT traversingsergeyu@chromium.org2011-03-312-7/+21
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6785002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80070 0039d316-1c4b-4281-b951-d872f2087c98
* The authenticated_ fields are moved out of stubs and intosimonmorris@chromium.org2011-03-3123-328/+329
| | | | | | | | | | | | ClientSession. Messages to the stubs are dispatched via ClientSession, and the stub classes are pure virtual. BUG=none TEST=none Review URL: http://codereview.chromium.org/6724033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79991 0039d316-1c4b-4281-b951-d872f2087c98
* Moved socket adapters from remoting/jingle_glue to jingle/glue.sergeyu@chromium.org2011-03-3115-977/+24
| | | | | | | | | BUG=None TEST=compiles, unittests Review URL: http://codereview.chromium.org/6776003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79929 0039d316-1c4b-4281-b951-d872f2087c98
* Allow for video frames after curtain mode is disabled.jamiewalch@chromium.org2011-03-301-0/+3
| | | | | | | | | BUG=77909 TEST=ChromotingHostTest.Reconnect passes under Valgrind. Review URL: http://codereview.chromium.org/6765033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79850 0039d316-1c4b-4281-b951-d872f2087c98
* Curtain mode interface, hooks and unit tests.jamiewalch@chromium.org2011-03-3016-19/+326
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6735010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79816 0039d316-1c4b-4281-b951-d872f2087c98
* Fix VS 2010 build.jam@chromium.org2011-03-291-0/+1
| | | | | | Review URL: http://codereview.chromium.org/6731061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79723 0039d316-1c4b-4281-b951-d872f2087c98
* Capturer is now pure virtual. The implementation it used tosimonmorris@chromium.org2011-03-2922-292/+541
| | | | | | | | | | | contain is now in CapturerHelper. BUG=none TEST=none Review URL: http://codereview.chromium.org/6717020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79679 0039d316-1c4b-4281-b951-d872f2087c98
* Add remoting/OWNERSsergeyu@chromium.org2011-03-281-0/+9
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6735014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79580 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few uninitialized members in remoting classes.finnur@chromium.org2011-03-285-10/+17
| | | | | | | | | BUG=None TEST=None CID=15507, 13722, 13617, 13913, 13614. Review URL: http://codereview.chromium.org/6696106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79545 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-2880-161/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Fix permissions broken in r79114.simonmorris@chromium.org2011-03-232-0/+0
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6725026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79119 0039d316-1c4b-4281-b951-d872f2087c98
* ChromotingHost can have multiple connections, but only onesimonmorris@chromium.org2011-03-2316-242/+356
| | | | | | | | | | | | | | | | | | | | authenticated connection. When a connection is authenticated, the host disconnects all other connections. The result is that if a client has disconnected without the host noticing, another client can connect immediately, without having to wait for the older connection to time out. The new ClientSession class encapsulates a ConnectionToClient and per-client state. It has taken the HostStub implementation away from DesktopEnvironment. BUG=70013 TEST=extra unit test; also see repro steps in BUG Review URL: http://codereview.chromium.org/6711033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79114 0039d316-1c4b-4281-b951-d872f2087c98
* [Jingle] Refactored some notifier-related structs/classesakalin@chromium.org2011-03-221-1/+1
| | | | | | | | | | | | Moved ServerInformation into its own header and added ServerList typedef. Added notifier_options_util.{h,cc}. BUG=None Review URL: http://codereview.chromium.org/6708076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79026 0039d316-1c4b-4281-b951-d872f2087c98
* fix commentsdilmah@chromium.org2011-03-222-2/+2
| | | | | | | | | | BUG=None TEST=None TBR=rvargas@chromium.org Review URL: http://codereview.chromium.org/6715024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78977 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented shared memory capture method.jamiewalch@chromium.org2011-03-214-71/+340
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6677083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78874 0039d316-1c4b-4281-b951-d872f2087c98
* Hardcode gmail cert for chromoting.sergeyu@chromium.org2011-03-191-0/+40
| | | | | | | | | | | NSS doesn't load root certs in the renderer process, so cert verification fails for XMPP connection. Hardcode gmail.com certificate, to workaround this issue. TEST=remoting client can connect. BUG=None Review URL: http://codereview.chromium.org/6688043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78791 0039d316-1c4b-4281-b951-d872f2087c98
* Normalize the top-level ui/ module.rsesek@chromium.org2011-03-181-2/+2
| | | | | | | | | | | | | | | | This CL creates four .gypi files that are included in /ui/ui.gyp. This allows for a single unittest binary for all the submodules, rather than having individual unittest binaries for each submodule. To not break the buildbot, this creates a fake target that copies ui_unittests to gfx_unittests as temporary scaffolding. BUG=72317 TEST=gfx_unittests (really ui_unittests) passes Review URL: http://codereview.chromium.org/6688007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78711 0039d316-1c4b-4281-b951-d872f2087c98
* Improve AlignRect() readability, and handle bad rectangles more gracefully ↵lambroslambrou@chromium.org2011-03-173-19/+60
| | | | | | | | | | | | | (without crashing in gfx::Rect ctor). Also fix cpplint nit. BUG=74809 TEST=Follow repro steps of bug. Review URL: http://codereview.chromium.org/6628051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78541 0039d316-1c4b-4281-b951-d872f2087c98
* Move core renderer subdirectories to content.jam@chromium.org2011-03-162-3/+3
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6673090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78422 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak in HeartbeatSenderTest.DoSendStanza and remove valgrind suppression.lambroslambrou@chromium.org2011-03-151-0/+17
| | | | | | | | | BUG=74850 TEST=Valgrind bots stay green. Review URL: http://codereview.chromium.org/6624095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78205 0039d316-1c4b-4281-b951-d872f2087c98
* Use deprecated mouse API that actually works.jamiewalch@chromium.org2011-03-152-37/+32
| | | | | | | | | BUG= TEST=Use the mouse to double-click or drag something. Review URL: http://codereview.chromium.org/6627077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78191 0039d316-1c4b-4281-b951-d872f2087c98
* Fix building gfx_unittests and remoting_unittests in linux dbg-shlib, this ↵sadrul@chromium.org2011-03-151-1/+1
| | | | | | | | | | | | | time, without breaking Mac. BUG=none TEST=gfx_unittests, remoting_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78161 Review URL: http://codereview.chromium.org/6695015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78164 0039d316-1c4b-4281-b951-d872f2087c98
* Fix building gfx_unittests and remoting_unittests in linux dbg-shlib.sadrul@chromium.org2011-03-151-0/+1
| | | | | | | | | BUG=none TEST=gfx_unittests, remoting_unittests Review URL: http://codereview.chromium.org/6695015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78161 0039d316-1c4b-4281-b951-d872f2087c98
* Code cleanup related to allowed_bad_certs.wtc@chromium.org2011-03-141-1/+2
| | | | | | | | | | | | | | | | cert_status is a bitwise-OR of CERT_STATUS_xxx, not ERR_CERT_xxx. Initialize a CertAndStatus structure after checking it is needed. Fix a typo in comments. R=hclam BUG=none TEST=none Review URL: http://codereview.chromium.org/6677022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78123 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting plugin to use a backing storehclam@google.com2011-03-142-15/+26
| | | | | | | | | | | | | Create a backing store for painting image data through the lifetime of the plugin instance. This avoids memory fragmentation of creating small blocks of memory every time it paints. BUG=71885 TEST=None Review URL: http://codereview.chromium.org/6661008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78085 0039d316-1c4b-4281-b951-d872f2087c98
* Clear authenticated state on client disconnection.lambroslambrou@chromium.org2011-03-147-0/+40
| | | | | | | | | BUG=75553 TEST=Connect client to host, disconnect then connect again (after 2 minutes). Review URL: http://codereview.chromium.org/6684006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78046 0039d316-1c4b-4281-b951-d872f2087c98
* Invalidate the entire screen after registering for refresh callbacks.jamiewalch@chromium.org2011-03-112-8/+41
| | | | | | | | | BUG= TEST=Make a chromoting connection to a Mac host and verify that the full screen is initially visible. Connect sooner rather than later, otherwise it's likely that the full screen would have been visible even without this fix. Review URL: http://codereview.chromium.org/6651024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77808 0039d316-1c4b-4281-b951-d872f2087c98
* Tidy up after CL 6573005.simonmorris@chromium.org2011-03-1019-114/+85
| | | | | | | | | | | | Replace width/height pairs with gfx::Size objects. Avoid overloading Capturer::InvalidateFullScreen. BUG=none TEST=none Review URL: http://codereview.chromium.org/6635039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77625 0039d316-1c4b-4281-b951-d872f2087c98
* Inject custom NetworkManager to JingelClienthclam@google.com2011-03-091-0/+2
| | | | | | | | | | | This will enable using p2papi in the renderer by chromoting client. BUG=None TEST=None Review URL: http://codereview.chromium.org/6660005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77540 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for other authentication mechanisms in jingle. This will allow ↵sanjeevr@chromium.org2011-03-091-2/+5
| | | | | | | | | | | us to use OAuth2 tokens when OAuth2 support is ready in Talk. BUG=None TEST=Test cloud print and sync for regressions. Review URL: http://codereview.chromium.org/6649006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77434 0039d316-1c4b-4281-b951-d872f2087c98
* Fix handling of invalid certificates in JingleSessionManager.sergeyu@chromium.org2011-03-081-1/+4
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6649005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77359 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak CSS to give the client scrollbars.simonmorris@chromium.org2011-03-081-2/+1
| | | | | | | | | | | | The horizontal scrollbar is attached to the plugin, not to the page, so it's only visible if the page is scrolled to the bottom. BUG=74681 TEST=none Review URL: http://codereview.chromium.org/6628080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77304 0039d316-1c4b-4281-b951-d872f2087c98
* Replace libjingle's HttpPortAllocatorSession with Pepper's http clienthclam@google.com2011-03-0818-15/+575
| | | | | | | | | | | | | | | | | HttpPortAllocatorSession uses libjingle's http client to establish relay connection. This will not work in the sanboxed case since it access OS level of network directly. This patch replaces the http client with URL loader in pepper. This goes through the standard URL fetching system for chrome to get around the sandbox problem. BUG=51198 TEST=Force libjingle to use relay and try it with this code. Review URL: http://codereview.chromium.org/6623048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77218 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting client don't submit login info if not connectedhclam@chromium.org2011-03-073-6/+30
| | | | | | | | | | | Chromoting client was crashing if it sends login info when not connected. BUG=None TEST=None Review URL: http://codereview.chromium.org/6621046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77190 0039d316-1c4b-4281-b951-d872f2087c98
* Configure Nagle's & Delayed ACK settings for Chromoting channels.wez@chromium.org2011-03-071-0/+13
| | | | | | | | | BUG=74944 TEST=See bug description. Review URL: http://codereview.chromium.org/6621027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77167 0039d316-1c4b-4281-b951-d872f2087c98
* Support keyboard input on Macjamiewalch@chromium.org2011-03-072-4/+203
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6610024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77155 0039d316-1c4b-4281-b951-d872f2087c98