summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash when shutting down xmpp connection.sergeyu@chromium.org2010-12-031-0/+3
| | | | | | | | | BUG=None TEST=Client doesn't crash when shuttind down connection. Review URL: http://codereview.chromium.org/5604002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68113 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly handle SSL Client Authentication requests when connectingrch@chromium.org2010-11-121-1/+2
| | | | | | | | | | | to an HTTPS/SPDY proxy. Modify SSLClientSocket classes to correctly set the host_and_port field of the cert_request_info. Modify HttpNetworkTransaction to use this field when populating the SSL client auth cache. BUG=59292 TEST=HttpProxyClientSocketPoolTest.SslClientAuth Review URL: http://codereview.chromium.org/4339001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65976 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using TimeTicks rather than Time in message loopsjar@chromium.org2010-11-061-3/+3
| | | | | | | | | | Switch to using TimeTicks rather than Time so that we are not dependent on changes in the system clock. r=mbelshe,darin Review URL: http://codereview.chromium.org/3884001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65322 0039d316-1c4b-4281-b951-d872f2087c98
* Add DEPS files in remoting subdirectories.sergeyu@chromium.org2010-11-055-16/+20
| | | | | | | | | | | | | This is to avoid unwanted dependencies between remoting modules. Also fixed libjingle includes to use full path, and removed some old includes. TEST=checkdeps BUG=None Review URL: http://codereview.chromium.org/4562002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65251 0039d316-1c4b-4281-b951-d872f2087c98
* Convert implicit scoped_refptr constructor calls to explicit ones, part 1thakis@chromium.org2010-11-013-11/+11
| | | | | | | | | | | 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
* 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-274-5/+3
| | | | | | | | | | | | | | | 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
* 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
* Convert LOG(INFO) to VLOG(1) - remoting/.pkasting@chromium.org2010-10-192-10/+10
| | | | | | | | | | 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
* 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
* 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
* Remove old tunneling code from remoting/jingle_glue.sergeyu@chromium.org2010-10-148-876/+4
| | | | | | | | | 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
* Use new Chromotocol code in host andclient.sergeyu@chromium.org2010-10-061-0/+1
| | | | | | | | | | | | | | 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
* FBTF: Continue fixing nits found by my automated source scanner.erg@google.com2010-10-052-3/+10
| | | | | | | | | | | (~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
* Reapply r61237: FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-042-3/+8
| | | | | | | | | | | | | | | 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
* Fix flakiness in JingleChromotingConnectionTestsergeyu@chromium.org2010-10-021-1/+4
| | | | | | | | 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
* Revert "FBTF: Another big ctor/dtor cleanup found by automated tools."erg@google.com2010-10-012-8/+3
| | | | | | | | | | | 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-012-3/+8
| | | | | | | | | | | (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
* Unittests for chromotocol code.sergeyu@chromium.org2010-10-015-16/+292
| | | | | | | | | BUG=53986 TEST=Unittests FTW! Review URL: http://codereview.chromium.org/3407007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61228 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented basic support Chromotocol connection.sergeyu@chromium.org2010-09-289-47/+595
| | | | | | | | | | New code supports multiple PseudoTCP and UDP channels. Client and host still use old JjngleChannel for connection. BUG=53986 TEST=None Review URL: http://codereview.chromium.org/3319021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60842 0039d316-1c4b-4281-b951-d872f2087c98
* Removed use of XmppSocketAdapter by sync.akalin@chromium.org2010-09-107-2/+1108
| | | | | | | | | | | | | | | | Moved XmppSocketAdapter and friends to remoting directory. Removed some dead code in jingle/. This is a relanding of 59012, which was mistakenly reverted at 59104. BUG=54146,55116 TEST=none TBR=willchan Review URL: http://codereview.chromium.org/3300030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59134 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r59012 which started using Chrome sockets for sync.willchan@chromium.org2010-09-107-1108/+2
| | | | | | | | | | | This caused us to write to ChromeNetLog from the sync thread. ChromeNetLog is not thread safe, so this causes problems. BUG=55116,54146 TEST=Start up chrome. Does not repeatedly hit DCHECKs on ChromeNetLog::AddEntry(). Review URL: http://codereview.chromium.org/3358028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59104 0039d316-1c4b-4281-b951-d872f2087c98
* Removed use of XmppSocketAdapter by sync.akalin@chromium.org2010-09-097-2/+1108
| | | | | | | | | | | | | Moved XmppSocketAdapter and friends to remoting directory. Removed some dead code in jingle/. BUG=54146 TEST=none Review URL: http://codereview.chromium.org/3298021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59012 0039d316-1c4b-4281-b951-d872f2087c98
* Delayed event support in JingleThread.sergeyu@chromium.org2010-09-072-23/+86
| | | | | | | | | BUG=54347 TEST=unittests Review URL: http://codereview.chromium.org/3333014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58773 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed tsan warnings in remoting_unittestssergeyu@chromium.org2010-09-011-0/+3
| | | | | | | | | BUG=53766,53837 TEST=remoting_unittests under tsan Review URL: http://codereview.chromium.org/3269005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58235 0039d316-1c4b-4281-b951-d872f2087c98
* Jingle_glue bugfixes.sergeyu@chromium.org2010-08-289-201/+523
| | | | | | | | | | | | | | | Fixed Closed() methods in JingleChannel and JingleClient so that they are not blocking and guarantee that callback is not called afterwards. Changed JingleThread shutdown mechanism so that the thread doesn't stop until all tasks are finished. JingleClient now uses LocalTunnelSessionClient that allows local connections. BUG=52889 TEST=unittests Review URL: http://codereview.chromium.org/3167047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57770 0039d316-1c4b-4281-b951-d872f2087c98
* Unforked xmpp ssl adapter code.sergeyu@chromium.org2010-08-249-1226/+5
| | | | | | | | | BUG=50254 TEST=unittests Review URL: http://codereview.chromium.org/3136030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57213 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed GMock warning about unexpected call in remoting_unittests.sergeyu@chromium.org2010-08-241-0/+4
| | | | | | | | | BUG=None TEST=unittests Review URL: http://codereview.chromium.org/3181034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57212 0039d316-1c4b-4281-b951-d872f2087c98
* Remove noisy LOG(INFO) lines from chromoting unittests.garykac@google.com2010-08-201-4/+0
| | | | | | | | BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3186006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56898 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit "Start chromoting host in the service process though a method call"hclam@chromium.org2010-08-101-4/+11
| | | | | | | | | | | | | | This change exposes method calls to configure the chromoting host and allow it to be started from a method. This will allow us to use IPC message to start the chromoting host. TEST=unit_tests --gtest_filter=ServiceProcess* BUG=50243, 50244 Review URL: http://codereview.chromium.org/3105002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55593 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55507 - Start chromoting host in the service process though a method ↵glen@chromium.org2010-08-101-11/+4
| | | | | | | | | | | | | | | | | | | call This change exposes method calls to configure the chromoting host and allow it to be started from a method. This will allow us to use IPC message to start the chromoting host. TEST=unit_tests --gtest_filter=ServiceProcess* BUG=50243, 50244 Review URL: http://codereview.chromium.org/3084024 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/3110004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55525 0039d316-1c4b-4281-b951-d872f2087c98
* Start chromoting host in the service process though a method callhclam@chromium.org2010-08-101-4/+11
| | | | | | | | | | | | | | This change exposes method calls to configure the chromoting host and allow it to be started from a method. This will allow us to use IPC message to start the chromoting host. TEST=unit_tests --gtest_filter=ServiceProcess* BUG=50243, 50244 Review URL: http://codereview.chromium.org/3084024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55507 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 2)thestig@chromium.org2010-08-061-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3010052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55191 0039d316-1c4b-4281-b951-d872f2087c98
* Added HostKeyPair class, signatures for heartbeat messages.sergeyu@chromium.org2010-08-045-15/+27
| | | | | | | | | BUG=None TEST=unittests Review URL: http://codereview.chromium.org/3087003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54991 0039d316-1c4b-4281-b951-d872f2087c98
* More FRIEND_TEST_ALL_PREFIXES.phajdan.jr@chromium.org2010-07-302-7/+7
| | | | | | | | | TEST=none BUG=44549 Review URL: http://codereview.chromium.org/3053024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54388 0039d316-1c4b-4281-b951-d872f2087c98
* Fork a copy of all the notifier code in chrome/common/net/notifier that we ↵ajwong@chromium.org2010-06-289-6/+1226
| | | | | | | | | | | | | | depend on. This breaks a cycle int the build dependencies so that we can keep moving forward on Chromoting implementation. BUG=none TEST=compiles on mac/linux/win Review URL: http://codereview.chromium.org/2843026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50959 0039d316-1c4b-4281-b951-d872f2087c98
* Small fix to jingle_glue for chromotinghclam@chromium.org2010-06-231-1/+5
| | | | | | | | | | | | | | | | Allow JingleClient to be closed more than once and before it is initalized. If JingleClient is disconnected from the talk network due to reaons like invalid credentials, user of JingleClient will attempt to close the client again resulting a crash in libjingle. Instead of failing aggressive we allow the close operation to be more flexible and handle the invalid cases internally. TEST=none BUG=none Review URL: http://codereview.chromium.org/2819017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50551 0039d316-1c4b-4281-b951-d872f2087c98
* Style fixes after readability review.sergeyu@chromium.org2010-06-1614-90/+100
| | | | | | | | | TEST=compile BUG=none Review URL: http://codereview.chromium.org/2816007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49897 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build for remotinghclam@chromium.org2010-06-161-25/+0
| | | | | | | | | Remoting turned on -Wall, causing some compilation failures. TBR=dmaclach, dimich Review URL: http://codereview.chromium.org/2806006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49882 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up compile warnings based to match other chromium sub-projects.dmaclach@chromium.org2010-06-153-4/+7
| | | | | | | | | | | Fix up the issues that the new warnings raised. BUG=none TEST=build remoting cleanly Review URL: http://codereview.chromium.org/2801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49842 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break in remotinghclam@chromium.org2010-06-111-1/+6
| | | | | | | | | | chromoting_jingle_test_client needs to be updated due to changes in JingleClient TBR=ajwong Review URL: http://codereview.chromium.org/2730009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49483 0039d316-1c4b-4281-b951-d872f2087c98
* Separate out HostConnection into an interface and a jingle-basedajwong@chromium.org2010-06-102-58/+42
| | | | | | | | implementation. Refactor to inject the running thread for Jingle. Review URL: http://codereview.chromium.org/2753006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49419 0039d316-1c4b-4281-b951-d872f2087c98
* Token-based authentication for chromoting.sergeyu@chromium.org2010-06-093-35/+50
| | | | | | | | | | | BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49298 Review URL: http://codereview.chromium.org/2749004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49326 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 49298 - Broke compile - Token-based authentication for chromoting.rsesek@chromium.org2010-06-093-50/+35
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2749004 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/2724010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49300 0039d316-1c4b-4281-b951-d872f2087c98
* Token-based authentication for chromoting.sergeyu@chromium.org2010-06-093-35/+50
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2749004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49298 0039d316-1c4b-4281-b951-d872f2087c98
* Copy the (early prototype of) remoting in Chrome into the public tree.garykac@google.com2010-06-0717-0/+1670
At the moment, this is a semi-functional demo. BUG=none TEST=build/run all unittests on linux Review URL: http://codereview.chromium.org/2690003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49087 0039d316-1c4b-4281-b951-d872f2087c98