summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Convert implicit scoped_refptr constructor calls to explicit ones, part 1thakis@chromium.org2010-11-0112-40/+41
| | | | | | | | | | | This CL was created automatically by this clang rewriter: http://codereview.appspot.com/2776043/ . I manually fixed a few rough spots of the rewriter output (doh1-3) and fixed all presubmit errors. BUG=28083 TEST=None Review URL: http://codereview.chromium.org/4192012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64573 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac compilation issuehclam@chromium.org2010-10-281-1/+2
| | | | | | | | TBR=ncarter Review URL: http://codereview.chromium.org/4135010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64320 0039d316-1c4b-4281-b951-d872f2087c98
* HostMessageDispatcher to parse control messageshclam@chromium.org2010-10-2829-465/+579
| | | | | | | | | | | | Changed MessageReader and MessageDecoder to support parsing in HostMessageDispatcher. BUG=None TEST=None Review URL: http://codereview.chromium.org/4017002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64283 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Chromoting's verbatim decoder to work with the new protocol.garykac@google.com2010-10-272-69/+107
| | | | | | | | BUG=none TEST=verify chromoting works when host uses --verbatim flag Review URL: http://codereview.chromium.org/4152007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64179 0039d316-1c4b-4281-b951-d872f2087c98
* Remove NOTREACHED from UsingTCPFastOpengarykac@chromium.org2010-10-271-1/+0
| | | | | | | | | BUG=none TEST=verify that Chromoting works again Review URL: http://codereview.chromium.org/4210001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64176 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanups in the chromotocol code.sergeyu@chromium.org2010-10-2730-426/+469
| | | | | | | | | | | | | | | 1) Renamed ChromotingServer to ChromotocolServer. 2) Renamed ChromotingConnection to ChromotocolConnection. 3) Added documentation for ChromotocolServer. 4) Fixed methods names in ChromtocolConnection. 5) Removed some unncessary references to media/*. BUG=None TEST=None Review URL: http://codereview.chromium.org/4105002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64113 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Hopefully, the last ctor patch.erg@google.com2010-10-272-2/+8
| | | | | | | | | | | With this final patch, the chrome target compiles without my new warnings. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/4099006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64080 0039d316-1c4b-4281-b951-d872f2087c98
* Add experimental option for TCP FastOpen.mbelshe@chromium.org2010-10-262-0/+6
| | | | | | | | | | | Use chrome.exe --enable-tcp-fastopen BUG=none TEST=none yet Review URL: http://codereview.chromium.org/4039003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63913 0039d316-1c4b-4281-b951-d872f2087c98
* Add asserts for timeouts in JingleChromotingConnectionTest.sergeyu@chromium.org2010-10-261-8/+12
| | | | | | | | | BUG=57832 TEST=Unittests Review URL: http://codereview.chromium.org/3606014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63911 0039d316-1c4b-4281-b951-d872f2087c98
* Added control channel in ChromotingConnection. Moved channelsergeyu@chromium.org2010-10-268-60/+142
| | | | | | | | | | initialization to OnInitiate() in JingleChromotingConnection. BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/4055002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63908 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 63809 - Remove TSan supporessions on windows for remoting_unittests.sergeyu@chromium.org2010-10-261-12/+8
| | | | | | | | | | | | BUG=57832 TEST=None Review URL: http://codereview.chromium.org/3606014 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/4138004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63828 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TSan supporessions on windows for remoting_unittests.sergeyu@chromium.org2010-10-261-8/+12
| | | | | | | | | BUG=57832 TEST=None Review URL: http://codereview.chromium.org/3606014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63809 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented chromotocol configuration negotiation.sergeyu@chromium.org2010-10-2424-144/+954
| | | | | | | | | | Renamed "events" to "event". BUG=None TEST=None Review URL: http://codereview.chromium.org/3988002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63693 0039d316-1c4b-4281-b951-d872f2087c98
* Fix remoting to use scoped_refptr.willchan@chromium.org2010-10-231-3/+3
| | | | | | | | | BUG=28083 TEST=existing Review URL: http://codereview.chromium.org/4053006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63603 0039d316-1c4b-4281-b951-d872f2087c98
* Implement basic X11 screen capture on linux.ajwong@chromium.org2010-10-216-3/+332
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/3801012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63401 0039d316-1c4b-4281-b951-d872f2087c98
* Simple RTP reader/writer.sergeyu@chromium.org2010-10-2013-142/+607
| | | | | | | | | | | This is an implementation of simple RTP reader and writer. It still lacks proper support of VP8 payload header. Will implement it in another CL. BUG=None TEST=None Review URL: http://codereview.chromium.org/3829007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63294 0039d316-1c4b-4281-b951-d872f2087c98
* Convert LOG(INFO) to VLOG(1) - remoting/.pkasting@chromium.org2010-10-199-54/+39
| | | | | | | | | | Also, remove some extra {}s and unnecessary endls. BUG=none TEST=none Review URL: http://codereview.chromium.org/3913001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63141 0039d316-1c4b-4281-b951-d872f2087c98
* HostMessageDispatcher to dispatch messages received on a chromoting connectionhclam@chromium.org2010-10-199-3/+220
| | | | | | | | | | | Adding HostMessageDispatcher to be used by ChromotingHost. BUG=None TEST=None Review URL: http://codereview.chromium.org/3852002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63111 0039d316-1c4b-4281-b951-d872f2087c98
* Fix remoting_unittests to pull in TCMalloc.willchan@chromium.org2010-10-191-0/+8
| | | | | | | | | BUG=40467 TEST=remoting_unittests builds with heapchecker :) Review URL: http://codereview.chromium.org/3905001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63108 0039d316-1c4b-4281-b951-d872f2087c98
* Revert revert 62918 - net: clean up SSLHostInfo construction."agl@chromium.org2010-10-191-1/+2
| | | | | | | Was reverted in r62922 due to a change landing between the try run and the commit. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63046 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Monster ctor patch after changing heuristics in clang plugin.erg@google.com2010-10-1815-34/+80
| | | | | | | | | | | (Only 916k this time off Debug Linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3814013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62967 0039d316-1c4b-4281-b951-d872f2087c98
* Move chromotocol.proto to remoting/protocolhclam@chromium.org2010-10-1826-188/+238
| | | | | | | | | | | Move the proto file and split it into multiple smaller proto files. BUG=None TEST=None Review URL: http://codereview.chromium.org/3808002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62965 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure to use scoped_refptr for refcounted params in audio/video/remotingwillchan@chromium.org2010-10-181-1/+3
| | | | | | | | | BUG=28083 TEST=existing Review URL: http://codereview.chromium.org/3821005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62949 0039d316-1c4b-4281-b951-d872f2087c98
* Call SceenConfigurationChanged from CapturerFake constructor.sergeyu@chromium.org2010-10-181-0/+1
| | | | | | | | | | | CapturerFake doesn't work without this change because screen parameters are never initialized. BUG=None TEST=None Review URL: http://codereview.chromium.org/3801010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62938 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 62918 - net: clean up SSLHostInfo construction.agl@chromium.org2010-10-181-2/+1
| | | | | | | | | | | | | | | | Create an SSLHostInfoFactory interface and plumb it from the HttpCache to the SSLConnectJob. Also, move the SSLHostInfo reference from the ssl_config to being passed to the SSLClientSocket. BUG=none TEST=net_unittests Review URL: http://codereview.chromium.org/3747003 TBR=agl@chromium.org Review URL: http://codereview.chromium.org/3846005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62922 0039d316-1c4b-4281-b951-d872f2087c98
* net: clean up SSLHostInfo construction.agl@chromium.org2010-10-181-1/+2
| | | | | | | | | | | | | Create an SSLHostInfoFactory interface and plumb it from the HttpCache to the SSLConnectJob. Also, move the SSLHostInfo reference from the ssl_config to being passed to the SSLClientSocket. BUG=none TEST=net_unittests Review URL: http://codereview.chromium.org/3747003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62918 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_nsdisable_screen_update from base to app/macbrettw@chromium.org2010-10-181-2/+2
| | | | | | | | | | | Move scoped_aedesc from base to base/mac Use namespace and proper Google-style class naming. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3828009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62904 0039d316-1c4b-4281-b951-d872f2087c98
* Basic client-host key (+ dead key) support for Chromoting (Windows).garykac@google.com2010-10-151-342/+18
| | | | | | | | | BUG=50247 TEST=none Review URL: http://codereview.chromium.org/3779006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62806 0039d316-1c4b-4281-b951-d872f2087c98
* Move Chromoting hostlist into tab (from extension popup)garykac@chromium.org2010-10-1410-56/+210
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3602002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62585 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old tunneling code from remoting/jingle_glue.sergeyu@chromium.org2010-10-1414-951/+7
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/3574014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62489 0039d316-1c4b-4281-b951-d872f2087c98
* Call SetViewport when client is inite'edgarykac@chromium.org2010-10-131-0/+1
| | | | | | | | | BUG=none TEST=run chromoting host/client, verify it works Review URL: http://codereview.chromium.org/3709004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62459 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61899 for breaking cookes on file:// URLs.willchan@chromium.org2010-10-081-3/+1
| | | | | | | | | | | | | | | | | | BUG=58553 ================================================= Fix instances of passing raw pointers to RefCounted objects in tasks. Some of these manually handled it correctly by using AddRef()/Release() pairs. I switched them to make_scoped_refptr() to be more consistent. This also makes them cleanup properly on MessageLoop shutdown if we start deleting tasks. BUG=28083 TEST=builds Review URL: http://codereview.chromium.org/3581008 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/3654001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62043 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up communication between Chromoting plugin and JS so that it can notify ↵garykac@chromium.org2010-10-0818-117/+407
| | | | | | | | | | | | | the JS UI of status changes. Push SetState handling down ChromotingView so that UI changes are contained in the View. BUG=54855 TEST=chromoting unittests Review URL: http://codereview.chromium.org/3446020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61977 0039d316-1c4b-4281-b951-d872f2087c98
* Fix instances of passing raw pointers to RefCounted objects in tasks.willchan@chromium.org2010-10-081-1/+3
| | | | | | | | | | | Some of these manually handled it correctly by using AddRef()/Release() pairs. I switched them to make_scoped_refptr() to be more consistent. This also makes them cleanup properly on MessageLoop shutdown if we start deleting tasks. BUG=28083 TEST=builds Review URL: http://codereview.chromium.org/3581008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61899 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up PPAPI renames in Chrome.neb@chromium.org2010-10-073-4/+4
| | | | | | | | | BUG=57631 TEST=ppapi/tests pass Review URL: http://codereview.chromium.org/3537011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61830 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break on mac.sergeyu@chromium.org2010-10-061-0/+2
| | | | | | TBR=ajwong git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61726 0039d316-1c4b-4281-b951-d872f2087c98
* Use new Chromotocol code in host andclient.sergeyu@chromium.org2010-10-0650-601/+1286
| | | | | | | | | | | | | | 1. ProtocolDecoder renamed to MessagesDecoder and moved to remoting/protocol. 2. base/protocol_util.[h|cc] split into base/util.[h|cc] and protocol/util.[h|cc]. 3. Added StreamReader and StreamWriter classes for events and video channels. 4. Client and host changed to use the new protocol code. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/3595012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61723 0039d316-1c4b-4281-b951-d872f2087c98
* Use TestTimeouts in JingleChromotingConnectionTestsergeyu@chromium.org2010-10-061-11/+10
| | | | | | | | | | Previous review for this code: http://codereview.chromium.org/3544008 BUG=None TEST=unittests. Review URL: http://codereview.chromium.org/3598011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61687 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Continue fixing nits found by my automated source scanner.erg@google.com2010-10-054-3/+13
| | | | | | | | | | | (~1.3 megs off Debug linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3556013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61587 0039d316-1c4b-4281-b951-d872f2087c98
* Fix races in JingleChromotingConnectionTest.sergeyu@chromium.org2010-10-051-3/+3
| | | | | | | | | BUG=57692 TEST=remoting_unittests under TSan. Review URL: http://codereview.chromium.org/3541010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61469 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply r61237: FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-049-16/+45
| | | | | | | | | | | | | | | Removes changes to code in webkit/ that broke chrome_frame. Will debug that portion later. (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles First Review URL: http://codereview.chromium.org/3563004 Review URL: http://codereview.chromium.org/3621003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61435 0039d316-1c4b-4281-b951-d872f2087c98
* This is a monster CL.ajwong@chromium.org2010-10-0448-1267/+909
| | | | | | | | | | | | | | | | | | | | It started as an attempt to put the decoder onto another thread. However, this became complicated due to multiple object ownership transfers and coupling between the decode layer and the network layer; the decoder's states were highly coupled with how the network packets were processed. This could probably be broken up slightly, but at this point, it's easier to just commit as a whole The refactor includes: 1) Making the decoder interface unaware of "network packet" types. 2) Making the network layer process packets in order. 3) Threading through asynchronous APIs all over the place. 4) Simplifying the rectangle update protocol. 5) Cleaning up object lifetime and ownership semantics between the decode layer and the renderer. As of right now, the Verbatim format is still broken on the encode side because it uses the old protocol. BUG=52883, 57351 TEST=still connects to chromoting_simple_host Review URL: http://codereview.chromium.org/3305001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61402 0039d316-1c4b-4281-b951-d872f2087c98
* Move the remoting gtest filter to the proper place.glider@chromium.org2010-10-041-5/+0
| | | | | | | BUG=57832 Review URL: http://codereview.chromium.org/3534009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61377 0039d316-1c4b-4281-b951-d872f2087c98
* Disable JingleChromotingConnectionTest tests that are failing under TSan onglider@chromium.org2010-10-041-0/+5
| | | | | | | | | | | Win. BUG=57832 TBR=timurrrr Review URL: http://codereview.chromium.org/3534007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61366 0039d316-1c4b-4281-b951-d872f2087c98
* clang/mac: Fix almost all problems when building all.xcodeproj.thakis@chromium.org2010-10-042-5/+10
| | | | | | | | BUG=None TEST=None TBR=hans git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61344 0039d316-1c4b-4281-b951-d872f2087c98
* Fix flakiness in JingleChromotingConnectionTestsergeyu@chromium.org2010-10-023-5/+16
| | | | | | | | TEST=remoting_unittests BUG=None TBR=hclam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61314 0039d316-1c4b-4281-b951-d872f2087c98
* Fix intermittent failure in JingleThreadTest.PostDelayedTask.sergeyu@chromium.org2010-10-021-1/+1
| | | | | | TBR=hclam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61268 0039d316-1c4b-4281-b951-d872f2087c98
* Disable TestVideoRtpChannel of remoting_unittests because of flakinesshclam@chromium.org2010-10-011-1/+3
| | | | | | | | | | | TBR=sergeyu BUG=None TEST=None Review URL: http://codereview.chromium.org/3555009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61260 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "FBTF: Another big ctor/dtor cleanup found by automated tools."erg@google.com2010-10-0113-51/+16
| | | | | | | | | | | This reverts commit 27ea47d65cf8767f350113d5ad9e25170efde811 (r61237). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3609005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61240 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-0113-16/+51
| | | | | | | | | | | (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98