summaryrefslogtreecommitdiffstats
path: root/jingle/jingle.gyp
Commit message (Collapse)AuthorAgeFilesLines
* Implement Send() in JingleThreadWrapper.sergeyu@chromium.org2011-08-011-0/+1
| | | | | | | | | | | | | Send() is used in some of libjingle code. WebRTC needs to create two separate threads which Send() messages to each other. This wasn't previously supported in JingleThreadWrapper. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/7520014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94992 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the comments setting emands and vim tab width and expansion variables.tony@chromium.org2011-07-111-6/+0
| | | | | | | | | | | | | | | | | These were added in r28089 (http://codereview.chromium.org/256059) but are unnecessary bloat for everyone to carry around, even those that don't use emacs or vim. In an earlier change, I added editor config files in src/tools/emacs/ and src/tools/vim/ so users of the appropriate editor can source those instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/7310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
* net: Build net.dll on Windows.rvargas@google.com2011-07-011-0/+1
| | | | | | | | BUG=76997 TEST=none Review URL: http://codereview.chromium.org/7281018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91360 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Add Stop() method to TaskPump and call it in XmppConnection destructorakalin@chromium.org2011-06-171-0/+3
| | | | | | | | | | | | | | 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
* Changes to have chrome building with net.dllrvargas@google.com2011-06-031-0/+1
| | | | | | | | BUG=76997 TEST=none Review URL: http://codereview.chromium.org/7056049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87873 0039d316-1c4b-4281-b951-d872f2087c98
* Final gyp patch to make use of the new cross-platform POSIX defines ↵tony@chromium.org2011-05-231-1/+1
| | | | | | | | toolkit_uses_gtk, os_posix, and use_x11. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. Solaris was made to use ALSA also, as libasound has been ported to FreeBSD and Solaris as a wrapper around the native OSS. Review URL: http://codereview.chromium.org/7055003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86352 0039d316-1c4b-4281-b951-d872f2087c98
* Globally replace <(library) with static_libraryevan@chromium.org2011-05-191-4/+4
| | | | | | | | | | | We provided <(library) as a variable to support a peculiar build configuration on Linux. We no longer support that build configuration, so we can simplify this code to no longer use a variable. Review URL: http://codereview.chromium.org/7051014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86004 0039d316-1c4b-4281-b951-d872f2087c98
* Remove StreamSocketAdapter.sergeyu@chromium.org2011-04-231-3/+0
| | | | | | | | | | | | PseudoTcpChannel is no longer used, so we don't need StreamSocketAdapter anymore. BUG=None TEST=compiles Review URL: http://codereview.chromium.org/6898032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82769 0039d316-1c4b-4281-b951-d872f2087c98
* Implement PseudoTCP adapter.sergeyu@chromium.org2011-04-221-0/+5
| | | | | | | | | | | | The new PseudoTcpAdapter will replace PseudoTcpChannel in remoting/protocol and will also be used for Pepper P2P APIs. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6879119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82606 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Fix race condition in P2PNotifier with sending notificationsakalin@chromium.org2011-04-191-0/+2
| | | | | | | | | | | | | | | | | | | Store any notifications sent when not connected and send them on the next connect. This fixes a race condition in the sync integration tests exposed by the new syncer thread. Make sending of notifications not be blocked on successful subscription. Disable a failing test in jingle_unittests. BUG= TEST= Review URL: http://codereview.chromium.org/6881042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82140 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the jingle network code in ChromeAsyncSocket to use the client ↵sanjeevr@chromium.org2011-04-151-0/+4
| | | | | | | | | | 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
* P2P Transport implementation.sergeyu@chromium.org2011-04-061-0/+2
| | | | | | | | | TEST=Unittests. BUG=None Review URL: http://codereview.chromium.org/6791023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80717 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80567 - P2P Transport implementation.TEST=Unittests.BUG=NoneReview ↵sergeyu@chromium.org2011-04-061-2/+0
| | | | | | | | | URL: http://codereview.chromium.org/6791023 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/6799003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80571 0039d316-1c4b-4281-b951-d872f2087c98
* P2P Transport implementation.sergeyu@chromium.org2011-04-061-0/+2
| | | | | | | | | TEST=Unittests. BUG=None Review URL: http://codereview.chromium.org/6791023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80567 0039d316-1c4b-4281-b951-d872f2087c98
* Add FakeSocketFactory.sergeyu@chromium.org2011-04-011-1/+16
| | | | | | | | | | | The new FakeSocketFactory will be used for P2P transport and remoting unittests. Also moved socket address conversion functions to the new jingle/glue/utils.h . BUG=None TEST=None Review URL: http://codereview.chromium.org/6670134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80242 0039d316-1c4b-4281-b951-d872f2087c98
* Moved socket adapters from remoting/jingle_glue to jingle/glue.sergeyu@chromium.org2011-03-311-0/+8
| | | | | | | | | 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
* Add JingleThreadWrapper.sergeyu@chromium.org2011-03-281-15/+20
| | | | | | | | | | | JingleThreadWrapper wraps chromium thread with a talk_base::Thread interface. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6747017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79576 0039d316-1c4b-4281-b951-d872f2087c98
* [Jingle] Refactored some notifier-related structs/classesakalin@chromium.org2011-03-221-3/+7
| | | | | | | | | | | | 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
* [Sync] Merged MediatorThread and PushNotificationsThreadakalin@chromium.org2011-03-161-11/+3
| | | | | | | | | | | | | Removed most of the legacy XMPP notification code. Simplified notification structs and calls a bit. BUG=76130 TEST= Review URL: http://codereview.chromium.org/6693007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78385 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for other authentication mechanisms in jingle. This will allow ↵sanjeevr@chromium.org2011-03-091-0/+1
| | | | | | | | | | | 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
* Even more test cleanup. Some fixes to non-test code that's regressed.erg@google.com2011-02-151-1/+2
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6523032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75014 0039d316-1c4b-4281-b951-d872f2087c98
* Part 1 of repairing regressions to my old clang check plugins so Nico canerg@google.com2011-01-271-0/+1
| | | | | | | | | | | deploy the clang plugins to the waterfall/trybots. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6366019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72846 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Fixed crash on XMPP reconnectionakalin@chromium.org2010-12-081-0/+14
| | | | | | | | | | | | | | | Tied lifetime of invalidation packet callback to ChromeInvalidationClient. Added some tests for ChromeInvalidationClient. Created FakeBaseTask class for testing. BUG=64652 TEST=New unittests Review URL: http://codereview.chromium.org/5625010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68571 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Added unittests for XmppConnectionGenerator.akalin@chromium.org2010-10-271-0/+1
| | | | | | | | | | | Removed unused public function. BUG=None TEST=notifier_unit_tests Review URL: http://codereview.chromium.org/4141004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64101 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for the new Google push notifications.sanjeevr@chromium.org2010-09-251-0/+7
| | | | | | | | | BUG=None TEST=Unit-tests, Cloud print proxy. Review URL: http://codereview.chromium.org/3493008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60565 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored handling of XmppClient.akalin@chromium.org2010-09-161-4/+6
| | | | | | | | | | | | 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
* Removed use of XmppSocketAdapter by sync.akalin@chromium.org2010-09-101-11/+0
| | | | | | | | | | | | | | | | 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-101-0/+11
| | | | | | | | | | | 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-091-11/+0
| | | | | | | | | | | | | 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
* Adding the sync-notification-host command line parameter to the integration ↵rsimha@chromium.org2010-09-081-0/+3
| | | | | | | | | | | | | | | | | | tests. The sync integration tests currently access the network to communicate with the notification server. We need to move to a model where all server accesses are stubbed out by local servers. This is the first step towards implementing a local notification server. BUG=53933,53931 TEST=sync_integration_tests First time committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58768 Review URL: http://codereview.chromium.org/3326007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58860 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58768 - Adding the sync-notification-host command line parameter to ↵rsimha@chromium.org2010-09-071-3/+0
| | | | | | | | | | | | | | | | | | | the integration tests. The sync integration tests currently access the network to communicate with the notification server. We need to move to a model where all server accesses are stubbed out by local servers. This is the first step towards implementing a local notification server. BUG=53933,53931 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/3326007 TBR=rsimha@chromium.org Review URL: http://codereview.chromium.org/3318016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58769 0039d316-1c4b-4281-b951-d872f2087c98
* Adding the sync-notification-host command line parameter to the integration ↵rsimha@chromium.org2010-09-071-0/+3
| | | | | | | | | | | | | | | | tests. The sync integration tests currently access the network to communicate with the notification server. We need to move to a model where all server accesses are stubbed out by local servers. This is the first step towards implementing a local notification server. BUG=53933,53931 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/3326007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58768 0039d316-1c4b-4281-b951-d872f2087c98
* Added XmppClientSocketFactory for use with ChromeAsyncSocketakalin@chromium.org2010-09-011-0/+2
| | | | | | | | | | | | | XmppClientSocketFactory serves up regular TCP sockets or fake SSL TCP sockets. This way, ChromeAsyncSocket has feature parity with XmppSocketAdapter. BUG=45612 TEST=existing unittests Review URL: http://codereview.chromium.org/3299001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58121 0039d316-1c4b-4281-b951-d872f2087c98
* Added FakeSSLClentSocket for connecting to Google Talk on the SSL portakalin@chromium.org2010-09-011-0/+3
| | | | | | | | | | | | | | FakeSSLClientSocket is a wrapper around a ClientSocket that simulates an SSL handshake, which is needed to connect to Google Talk servers on the SSL port. This was adapted from the libjingle socket implementation. BUG=45612 TEST=new unit tests Review URL: http://codereview.chromium.org/3231006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58110 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land just the project file changes from r55416. This makes projects that usebrettw@chromium.org2010-08-151-1/+1
| | | | | | | | | base test files dependent on test_support_base. TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56172 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55400 - Cleanup in base. This moves the implementation (and a bunch ↵nsylvain@chromium.org2010-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | of header file dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3035062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55416 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in base. This moves the implementation (and a bunch of header filebrettw@chromium.org2010-08-091-1/+1
| | | | | | | | | | | | | | | | | | | dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55400 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrote handing of auto-reconnection and network changes for sync notifier.akalin@chromium.org2010-07-271-2/+0
| | | | | | | | | BUG=47883 TEST=manual (turning network connection off and on) Review URL: http://codereview.chromium.org/2809056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53839 0039d316-1c4b-4281-b951-d872f2087c98
* Moved ChromeAsyncSocket to jingle/notifier/base.akalin@chromium.org2010-07-161-0/+5
| | | | | | | | | | | Fixed some signed/unsigned warnings. BUG=45612 TEST=existing unittests Review URL: http://codereview.chromium.org/2857039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52638 0039d316-1c4b-4281-b951-d872f2087c98
* TBR: akalin@chromium.orgajwong@chromium.org2010-06-301-5/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51217 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/common/net/notifier to jingle/notifier so that it can be used by ↵ajwong@chromium.org2010-06-301-0/+139
remoting/remoting.gyp. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/2885005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51216 0039d316-1c4b-4281-b951-d872f2087c98