summaryrefslogtreecommitdiffstats
path: root/jingle/glue
Commit message (Collapse)AuthorAgeFilesLines
* Remove static variables from HttpStreamFactory.szager@chromium.org2012-09-071-0/+17
| | | | | | | | | | | Refresh of issue 10389162. BUG=124900 Review URL: https://chromiumcodereview.appspot.com/10834215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155485 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing a crash when cancelling the same PacRequest twice.alexeypa@chromium.org2012-08-241-1/+3
| | | | | | | | | BUG=140096 Review URL: https://chromiumcodereview.appspot.com/10882038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153338 0039d316-1c4b-4281-b951-d872f2087c98
* Update JingleThreadWrapper to allow it to be created using task runner.sergeyu@chromium.org2012-08-144-41/+53
| | | | | | | | | | | | | Previously JingleThreadWrapper required a MessageLoop. In NaCl we don't have MessageLoop for the main plugin thread, but have a task runner. This CL allows to use JingleThreadWrapper on the main NaCl thread. BUG=134216 TBR=tommi@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151458 0039d316-1c4b-4281-b951-d872f2087c98
* Give MockRead and MockWrite distinct types.yutak@chromium.org2012-07-271-5/+4
| | | | | | | | | | | | | | | | | | | Currently, MockRead and MockWrite are defined as the same type by using typedef. However, these types are different types and should not be used interchangably. This change gives MockRead and MockWrite distinct types by using templates so the compiler can cause an error when these types are used interchangably. Some misuses of MockRead and MockWrite were found, so these are fixed in this change, too. BUG=none R=mmenke@chromium.org,akalin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10796085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148782 0039d316-1c4b-4281-b951-d872f2087c98
* Enable cert pinning for XMPP connection made by XmppClientSocketFactory.sergeyu@chromium.org2012-07-251-0/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10807081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148251 0039d316-1c4b-4281-b951-d872f2087c98
* Move TaskPump class from jingle/notifier/base to jingle/gluesergeyu@chromium.org2012-07-245-0/+190
| | | | | | | | | BUG=137140 Review URL: https://chromiumcodereview.appspot.com/10809066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148142 0039d316-1c4b-4281-b951-d872f2087c98
* Move ChromeAsyncSocket to jingle/gluesergeyu@chromium.org2012-07-2412-0/+3320
| | | | | | | | | | | | ChromeAsyncSocket will be reused by chromoting for XMPP connections, moving it to jingle/glue. BUG=137140 Review URL: https://chromiumcodereview.appspot.com/10817013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148028 0039d316-1c4b-4281-b951-d872f2087c98
* Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socketrch@chromium.org2012-07-192-0/+12
| | | | | | | | | | | | | | | | even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling libjingle to 159.ronghuawu@chromium.org2012-07-141-2/+2
| | | | | | | | TEST=unit tests, webrtc pytest Review URL: https://chromiumcodereview.appspot.com/10689180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146709 0039d316-1c4b-4281-b951-d872f2087c98
* Update libjingle to 153.ronghuawu@chromium.org2012-06-132-2/+5
| | | | | | | | Remove the overrides for thread and messagequeue. Review URL: https://chromiumcodereview.appspot.com/10534122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141908 0039d316-1c4b-4281-b951-d872f2087c98
* fixed issue 128383 - replace GetPeerAddress(AddressList* address) with ↵zhaoqin@chromium.org2012-06-082-4/+4
| | | | | | | | | | | | | GetPeerAddress(IPEndPoint* address) R=szym@chromium.org BUG=128383 TEST=try bot Review URL: https://chromiumcodereview.appspot.com/10491007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141125 0039d316-1c4b-4281-b951-d872f2087c98
* Currently when talk_base::Thread exists, Clear(NULL) is called from its ↵mallinath@chromium.org2012-06-011-0/+1
| | | | | | | | | | | | destructor. But JingleThreadWrapper never gets a chance to remove pending messages from its queue. The change will call Clear() in its destructor. BUG=129321 Review URL: https://chromiumcodereview.appspot.com/10474002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140126 0039d316-1c4b-4281-b951-d872f2087c98
* Changes needed to roll libjingle r141 to chrome.sergeyu@chromium.org2012-05-222-2/+2
| | | | | | | | | 1. Setting ice username and password for P2PTransportChannel. 2. Updating XMPP Auth cookie with Auth Token Review URL: https://chromiumcodereview.appspot.com/10382003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138334 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, sql/ and jingle/ editionrsleevi@chromium.org2012-04-282-3/+7
| | | | | | | | | | BUG=123295 TEST=none Review URL: http://codereview.chromium.org/10038045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134456 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle 132:135sergeyu@chromium.org2012-04-264-13/+14
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10209008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134065 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the base::JSONReader interface to take a set of options rather than a ↵rsesek@chromium.org2012-04-111-1/+2
| | | | | | | | | | | | | | boolean flag. This is just prep work for a large CL that rewrites the JSON parser. Splitting out this interface change will make it easier to review the other CL. BUG=121469 TEST=No functional change. Review URL: https://chromiumcodereview.appspot.com/9960077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131680 0039d316-1c4b-4281-b951-d872f2087c98
* Implement write-waits-for-send mode for PseudoTCP and enable it on the host ↵sergeyu@chromium.org2012-04-063-1/+124
| | | | | | | | | | | | | side. In the new send-confirmation mode the PseudoTCP layer will wait until data is sent to remote end before completing each write. This significantly improves latency for remoting on low bandwidth networks. Review URL: http://codereview.chromium.org/9791012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131083 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new GetNegotiatedProtocol method to StreamSocket and implement in all ↵rch@chromium.org2012-04-032-1/+7
| | | | | | | | | | subclasses. BUG=120890 Review URL: https://chromiumcodereview.appspot.com/9958028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130388 0039d316-1c4b-4281-b951-d872f2087c98
* JSONWriter cleanup: integrate pretty print into write options.ericdingle@chromium.org2012-03-161-1/+1
| | | | | | | | | | | BUG= TEST=base_unittests TBR=abodenha@chromium.org,ajwong@chromium.org,chocobo@chromium.org,mnissler@chromium.org,akalin@chromium.org,brettw@chromium.org,arv@chromium.org Review URL: http://codereview.chromium.org/9590002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127080 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle to r124. Removed overrides for the ws2 fixes.ronghuawu@chromium.org2012-03-151-2/+3
| | | | | | | | | | Roll webrtc to 1888. BUG=115702,117252 TEST=apprtc.appspot.com on windows and linux Review URL: https://chromiumcodereview.appspot.com/9600066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126793 0039d316-1c4b-4281-b951-d872f2087c98
* Include the headers from the libjingle overrides.ronghuawu@chromium.org2012-03-061-2/+2
| | | | | | | | | BUG=116567 TEST=apprtc.appspot.com Review URL: http://codereview.chromium.org/9616021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125228 0039d316-1c4b-4281-b951-d872f2087c98
* Convert uses of int ms to TimeDelta in jingle and remoting.tedvessenes@gmail.com2012-03-052-7/+9
| | | | | | | | | | R=sergeyu@chromium.org BUG=108171 Review URL: http://codereview.chromium.org/9572038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124915 0039d316-1c4b-4281-b951-d872f2087c98
* * Remove the dependency to ws2_32.dll from talk_base::ThreadManager and ↵ronghuawu@chromium.org2012-03-012-2/+3
| | | | | | | | | | | | | | | talk_base::Thread. * Remove the denendency to the htons(), htonl(), ntohs(), ntohl(). * Implement inet_pton_v4 without using ws2. * Update the remoting_unittests. BUG=115501 TEST=Build and run webrtc test on Windows. Review URL: http://codereview.chromium.org/9455070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124434 0039d316-1c4b-4281-b951-d872f2087c98
* Delete Session and SessionManager object synchronously.sergeyu@chromium.org2012-02-241-12/+25
| | | | | | | | | | | | | | | JingleSession and JingleSessionManager were previously deleted asychronously, but it is not necessary anymore arter we've switched to PepperSession and PepperSessionManager. Instead changed LibjingleTransportFactory to delete libjingle objects asynchronously. Also fixed some bugs related that would cause crash when channel auth fails. BUG=115374 Review URL: http://codereview.chromium.org/9433027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123436 0039d316-1c4b-4281-b951-d872f2087c98
* Implement support for route change notifications in the Transport interface.sergeyu@chromium.org2012-02-211-1/+3
| | | | | | | | | BUG=110485 Review URL: http://codereview.chromium.org/9366001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122901 0039d316-1c4b-4281-b951-d872f2087c98
* Libjingle-based TransportFactory implementation.sergeyu@chromium.org2012-02-212-2/+16
| | | | | | | | | | | | The new TransportFactory will be used on the host side first and then later on the client side too when we ready to switch to Pepper UDP APIs. BUG=110485 Review URL: http://codereview.chromium.org/9365002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122877 0039d316-1c4b-4281-b951-d872f2087c98
* Convert int ms interfaces to TimeDelta in jingle/glue files.tedvessenes@gmail.com2012-02-011-1/+1
| | | | | | | | | | BUG=108171 Review URL: http://codereview.chromium.org/9159068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120026 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle to r108:ronghuawu@chromium.org2012-01-191-3/+4
| | | | | | | | | | | | | | | | | | * Add app/webrtc. * Add examples/peerconnection. * Bug fixes. Roll webrtc to 1311. BUG=110255 TEST=build and unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118031 Review URL: http://codereview.chromium.org/9174012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118254 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 118031 - Roll libjingle to r108:ronghuawu@chromium.org2012-01-181-3/+3
| | | | | | | | | | | | | | | | | | | * Add app/webrtc. * Add examples/peerconnection. * Bug fixes. Roll webrtc to 1311. BUG=110255 TEST=build and unit tests Review URL: http://codereview.chromium.org/9174012 TBR=ronghuawu@chromium.org Review URL: https://chromiumcodereview.appspot.com/9253007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118058 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle to r108:ronghuawu@chromium.org2012-01-181-3/+3
| | | | | | | | | | | | | | | | * Add app/webrtc. * Add examples/peerconnection. * Bug fixes. Roll webrtc to 1311. BUG=110255 TEST=build and unit tests Review URL: http://codereview.chromium.org/9174012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118031 0039d316-1c4b-4281-b951-d872f2087c98
* This change updates the libjingle logging so that it writes to chromiums ↵hellner@google.com2012-01-172-0/+162
| | | | | | | | VLOG instead of its own logging mechanism. Review URL: http://codereview.chromium.org/8991010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117917 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117531 - Convert use of int ms to TimeDelta in files owned by ajwong.lambroslambrou@google.com2012-01-121-2/+2
| | | | | | | | | | | | | | R=ajwong@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9187023 TBR=tedvessenes@gmail.com Review URL: http://codereview.chromium.org/9187072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117539 0039d316-1c4b-4281-b951-d872f2087c98
* Convert use of int ms to TimeDelta in files owned by ajwong.tedvessenes@gmail.com2012-01-121-2/+2
| | | | | | | | | | | R=ajwong@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9187023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117531 0039d316-1c4b-4281-b951-d872f2087c98
* And now NewRunnableMethod(), you die.ajwong@chromium.org2012-01-041-5/+1
| | | | | | | | | | | Kill off NewRunnableMethod() and remove silly declarations of unused ScopedRunnableMethodFactory(s). BUG=none TEST=existing. Review URL: http://codereview.chromium.org/9034032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116250 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling new libjingle revision 100 mallinath@google.com2011-12-151-1/+1
| | | | | | | | | | | | | - Add IPv6 support to talk_base::SocketAddress - Refactored PeerConnectionFactory interface - Bug fixes BUG=none TEST=trybots Review URL: http://codereview.chromium.org/8914025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114543 0039d316-1c4b-4281-b951-d872f2087c98
* Removing MessageLoop::QuitTask() from jingle/dcheng@chromium.org2011-12-092-4/+4
| | | | | | | | | | | | base/task.h is going away and being replaced by base/bind.h and base/callback.h. This CL was automatically generated by sed. BUG=none TEST=none Review URL: http://codereview.chromium.org/8885018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113874 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate net/socket/socket.h, net/socket/stream_socket.h to base::Bind().ajwong@chromium.org2011-12-096-250/+91
| | | | | | | | | | | This changes Socket::Read(), Socket::Write, and StreamSocket::Connect() to use CompletionCallback and fixes all users. BUG=none TEST=existing. Review URL: http://codereview.chromium.org/8824006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113825 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113699 - base::Bind: Convert Socket::Write.jhawkins@chromium.org2011-12-095-134/+24
| | | | | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8831001 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/8889036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113719 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert Socket::Write.jhawkins@chromium.org2011-12-085-24/+134
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8831001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113699 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert Socket::Read.jhawkins@chromium.org2011-12-075-34/+141
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8801005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113326 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert StreamSocket::Connect.jhawkins@chromium.org2011-12-062-9/+52
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8801004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113283 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle to 98:99. tommi@chromium.org2011-12-061-1/+1
| | | | | | | | | | | | | | | | - Refactoring and bug fixes - Remove global variables of class type. NOTE: I'm landing this for Ronghua since he's on leave. The change has already been reviewed here: http://codereview.chromium.org/8790011/ but I had to create a new issue in order to resolve merge conflicts. TBR=sergeyu Review URL: http://codereview.chromium.org/8802019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113086 0039d316-1c4b-4281-b951-d872f2087c98
* Move P2P unit tests to content_unittestsjochen@chromium.org2011-11-251-0/+1
| | | | | | | | | | | | Also fix uninitialized memory in the jingle thread wrapper BUG=10502 TEST=content_unittests, valgrind is happy Review URL: http://codereview.chromium.org/8689014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111568 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to jingle/.avi@chromium.org2011-11-175-4/+9
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8589003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110546 0039d316-1c4b-4281-b951-d872f2087c98
* Allow linker initialization of lazy instancejoth@chromium.org2011-11-151-1/+1
| | | | | | | | | | | | | | Using the initializer list construct = {0} allows the object to be linker initialized. Modify the LazyInstance class design to make it a pod aggregate type that can be linker initialized this way. Also combines the instance and state members, in line with the Singleton<> class design. Introduces a new LAZY_INSTANCE_INITIALIZER macro specifically for using to init all lazy instances + modify all existing callsites to use it. (Old code would no longer compile) BUG=94925 TEST=existing tests pass. http://build.chromium.org/f/chromium/perf/linux-release/sizes/report.html?history=150&header=chrome-si&graph=chrome-si&rev=-1 should step downward. TBR=jam@chromium.org,rvargas@chromium.org,darin@chromium.org,ben@chromium.org,apatrick@chromium.org,akalin@chromium.org Review URL: http://codereview.chromium.org/8491043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110076 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert jingle/.jhawkins@chromium.org2011-11-125-21/+30
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8551004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109811 0039d316-1c4b-4281-b951-d872f2087c98
* Begin CompletionCallback switchover.willchan@chromium.org2011-10-016-46/+46
| | | | | | | | | | | | | Rename CompletionCallback to OldCompletionCallback in preparation for introducing a new CompletionCallback based on base::Callback. Also renames other CompletionCallback types like CancelableCompletionCallback and TestCompletionCallback and CompletionCallbackImpl. All using sed with s/CompletionCallback/OldCompletionCallback/g. BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8070013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103650 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting protocol implementation based on P2P Transport API.sergeyu@chromium.org2011-09-121-2/+2
| | | | | | | | | | | | | Then new code is not enabled yet, there are still some issues that need to be resolved before this code is used by default. I plan to make the switch in M16, as there isn't enough time left in M15. TEST=Manual BUG=51198 Review URL: http://codereview.chromium.org/7778022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100805 0039d316-1c4b-4281-b951-d872f2087c98
* Update libjingle to the latest version.sergeyu@chromium.org2011-09-081-0/+3
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/7795059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100278 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Dispose() method in JingleThreadWrapper.sergeyu@chromium.org2011-09-082-2/+36
| | | | | | | | | | BUG=93812 TEST=unittests, repro steps in the bug Review URL: http://codereview.chromium.org/7850007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100095 0039d316-1c4b-4281-b951-d872f2087c98