summaryrefslogtreecommitdiffstats
path: root/net/socket/buffered_write_stream_socket_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* [net] Use scoped_ptr<> consistently in ClientSocketFactory and related codeakalin@chromium.org2013-08-151-3/+4
| | | | | | | | | | | | | | | | | This will make it easier to modify ClientSocketFactory et al. to support reprioritization. This also fixes a few latent memory leaks in tests. Make SocketStream use a ClientSocketHandle instead of just a StreamSocket. Rename {set,release}_socket() to {Set,Pass}Socket(). BUG=166689 TBR=eroman@chromium.org, rsleevi@chromium.org, sergeyu@chromium.org Review URL: https://codereview.chromium.org/22995002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217707 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of the message_loop header in net/, part 2.avi@chromium.org2013-07-181-1/+1
| | | | | | | | | | BUG=260807 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/19625002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212241 0039d316-1c4b-4281-b951-d872f2087c98
* net: Use base::MessageLoop.xhwang@chromium.org2013-05-231-2/+2
| | | | | | | | | BUG=236029 R=agl@chromium.org Review URL: https://chromiumcodereview.appspot.com/14021017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201882 0039d316-1c4b-4281-b951-d872f2087c98
* Add a DeterministicMockUDPClientSocket. rch@chromium.org2013-05-081-1/+1
| | | | | | | | Factor out the shared code between the deterministic TCP and UDP client sockets into a DeterministicSocketHelper. Review URL: https://chromiumcodereview.appspot.com/14796009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198935 0039d316-1c4b-4281-b951-d872f2087c98
* net: Update calls from RunAllPending() to RunUntilIdle().tfarina@chromium.org2012-11-141-2/+2
| | | | | | | | | | | | RunAllPending() is deprecated and we should switch to RunUntilIdle(). BUG=131220 TBR=willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/11361263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167705 0039d316-1c4b-4281-b951-d872f2087c98
* DeterministicSocketDataProvider should not be RefCountedrsleevi@chromium.org2012-07-101-2/+3
| | | | | | | | | | BUG=123295 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10690104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145845 0039d316-1c4b-4281-b951-d872f2087c98
* Add a force pipelining option to load flags.simonjam@chromium.org2012-03-011-0/+122
Details: - Add a HttpPipelinedHostForced class for connections with forced requests. + Forced requests get their own pipeline and there's only one per host. + They always try to pipeline and won't retry if evicted. + Only one HttpStreamFactoryImpl::Job runs for all requests to the same origin with forced pipelining. All requests will fail if that Job fails. - Track HttpPipelinedHosts with a Key. Right now that's origin and force-pipelining, but it might be expanded to include content type. - Add a BufferedWriteStreamSocket that wraps a normal socket. It buffers Write() calls until a task fires to dispatch the buffer to the underlying socket. BUG=110794 TEST=net_unittests and unit_tests Review URL: http://codereview.chromium.org/9433015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124487 0039d316-1c4b-4281-b951-d872f2087c98