Add a new SequencedSocketData class.
commita5399e03bc7bea4e838bc0ea280503506006c6e6
authorrch <rch@chromium.org>
Tue, 21 Apr 2015 19:32:04 +0000 (21 12:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 21 Apr 2015 19:32:21 +0000 (21 19:32 +0000)
tree30d28c3defbf8981738a806002a622ef2bd18540
parent5888f7d4ed5656186eb4452807dbabf65a5ea80d
Add a new SequencedSocketData class.

Change Mock(TCP|UDP)ClientSocket classes Write behavior so that if the socket data returns ERR_IO_PENDING, the Write() returns ERR_IO_PENDING, and the socket data must call OnWriteComplete() later.

Convert QuicNetworkTransactionTest to use this new class.

Review URL: https://codereview.chromium.org/1087713003

Cr-Commit-Position: refs/heads/master@{#326096}
net/net.gypi
net/quic/quic_network_transaction_unittest.cc
net/socket/sequenced_socket_data_unittest.cc [new file with mode: 0644]
net/socket/socket_test_util.cc
net/socket/socket_test_util.h