summaryrefslogtreecommitdiffstats
path: root/jingle/notifier/base/xmpp_connection.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move TaskPump class from jingle/notifier/base to jingle/gluesergeyu@chromium.org2012-07-241-2/+2
| | | | | | | | | 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-241-6/+6
| | | | | | | | | | | | 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
* RefCounted types should not have public destructors - sync and jinglersleevi@chromium.org2012-06-111-4/+4
| | | | | | | | | | | | | | | | | | In the process of ensuring no base classes for RefCounted classes have public destructors, base::NonThreadSafe shows up frequently due to having a public destructor. Begin migrating all the code that has a base::NonThreadSafe member to directly inheriting from base::NonThreadSafe, so that base::NonThreadSafe's destructor can be made private. BUG=123295 TEST=existing Review URL: https://chromiumcodereview.appspot.com/10411046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141530 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Clean up XMPP connection codeakalin@chromium.org2012-05-151-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove dead DNS-resolution-related code. Remove complicated XmppConnectionGenerator class now that we don't have to do DNS resolution ourselves. Move the simplified logic into MakeConnectionSettingsList(). Add unit tests for it. Remove unused ConnectionOptions struct. Simplify SingleLoginAttempt a bit and add tests for it. Also document redirection protocol. Simplify LoginSettings and add tests for it. Move redirection timeout logic from Login to LoginSettings. Replace some bools with enums. Document sketchy (but necessary) include of libjingle's p2p/port.h. Some minor cleanup here and there. BUG=38091 TEST= Review URL: https://chromiumcodereview.appspot.com/10391084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137027 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Add Stop() method to TaskPump and call it in XmppConnection destructorakalin@chromium.org2011-06-171-0/+1
| | | | | | | | | | | | | | XmppConnection doesn't destroy TaskPump immediately, but it must stop it from pumping tasks immediately. (See bug for details.) Add unittests for TaskPump. BUG=86567 TEST= Review URL: http://codereview.chromium.org/7205013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89571 0039d316-1c4b-4281-b951-d872f2087c98
* Pass net_log parameter properly for ProxyResolvingClientSocketakalin@chromium.org2011-05-131-3/+1
| | | | | | | | | | | | | Also initialize a few more fields in the session_params object. Remove unused net_log params. BUG=82365 TEST=Turn on sync, look in chrome://sync-internals for entries for talk.google.com Review URL: http://codereview.chromium.org/7014009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85235 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the jingle network code in ChromeAsyncSocket to use the client ↵sanjeevr@chromium.org2011-04-151-13/+16
| | | | | | | | | | socket pool. This also allows the connection to be able to tunnel through proxies. BUG=77430 TEST=Unit-tests, sync unit-tests, test Cloud Print and Sync behind procy servers. Review URL: http://codereview.chromium.org/6833031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81820 0039d316-1c4b-4281-b951-d872f2087c98
* The MediatorThread worker thread needs to have a CertVerifierwtc@google.com2010-12-171-3/+6
| | | | | | | | | | | for the SSLClientSocket objects it creates. R=agl,akalin BUG=63357,67239 TEST=Sync should not crash. Review URL: http://codereview.chromium.org/5958001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69549 0039d316-1c4b-4281-b951-d872f2087c98
* Convert LOG(INFO) to VLOG(1) - jingle/.pkasting@chromium.org2010-10-201-1/+1
| | | | | | | | | | Also eliminates some extra {}s. BUG=none TEST=none Review URL: http://codereview.chromium.org/3885002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63147 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented VLOG() et al.akalin@chromium.org2010-09-291-2/+2
| | | | | | | | | | | | | | Implemented VLOG(), VLOG_IF(), VLOG_IS_ON(). Added --v and --vmodule switches. Changed some spammy sync-related logs to use VLOG. BUG=56965 TEST=New unittests Review URL: http://codereview.chromium.org/3448028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60976 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored handling of XmppClient.akalin@chromium.org2010-09-161-0/+139
Added new classes WeakXmppClient and XmppConnection, which let me simplify MediatorThreadImpl et al. BUG=55302 TEST=new unit tests, manually Review URL: http://codereview.chromium.org/3290025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59629 0039d316-1c4b-4281-b951-d872f2087c98