Land Recent QUIC changes.

Fix flakiness with retransmission tracking.

This happens when, due to ACKs for previous transmissions of packets,
none of the unacked packets have retransmittable data any longer.  The
retransmission timeout fires, but no packets are transmitted.  Assuming
that there is still data to write, this means that the connection hangs.
DOH!

To fix this, after we finish retransmitting all/any packets we should
write any pending data.

Merge internal change: 52384228

de-lint net/quic net/tools/quic.

Merge internal change: 52381288

Rename SentPacket -> OnPacketSent and AbandoningPacket ->
OnPacketAbandoned in QuicCongestionManager, and friends, to be more
consitent with other similar method names.

Merge internal change: 52380847

Change QuicConnectionTest to fire alarms, instead of calling the methods
that we expect the alarms will execute, since this is actually how the
code runs in non-test mode.

Merge internal change: 52379619

When a previous transmission of a packet is acked, inform the caller
that the data in the new packet has been acked.

Merge internal change: 52305769

Fixed minor nit while merging the following internal CL which converted
uses of scoped_array<T> to scoped_ptr<T[]>.

Merge internal change: 52298940

[email protected]

Review URL: https://chromiumcodereview.appspot.com/23503088

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224950 0039d316-1c4b-4281-b951-d872f2087c98
36 files changed