Land Recent QUIC Changes.
commita4dcff92312b99670e9a19657f881b00a0404e69
authorrtenneti <rtenneti@chromium.org>
Mon, 29 Sep 2014 18:16:08 +0000 (29 11:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 29 Sep 2014 18:16:47 +0000 (29 18:16 +0000)
tree6c24c55b4edd2ca7e5fa75de131111b64651e21e
parent608e1a19df52b2c50015ace4fccbea0a3a4173cd
Land Recent QUIC Changes.

Remove loss detection from QuicConfig now that connection options has
replaced it.

Merge internal change: 75952172

Chromium specific changes:
+ Deleted enable_quic_time_based_loss_detection from
  NetworkSession params.
+ Deleted enable-quic-time-based-loss-detection and
  disable-quic-time-based-loss-detection command line
  switches.

https://codereview.chromium.org/591323003/

Do not timeout QUIC connections when settings the timeouts from
InitializeSession(). Protected by FLAG_quic_timeouts_only_from_alarms

Removes FLAG_quic_timeouts_require_activity which was somewhat broken.

Merge internal change: 75927669
https://codereview.chromium.org/605903002/

Factor out the QUIC timeout alarm setting logic from the CheckForTimeout
method into a new SetTimeout method.

- no behavior change, simply moving QUIC timeout alarm code.

Merge internal change: 75915264
https://codereview.chromium.org/593193005/

Add a timestamp field to QUIC's CachedNetworkParams proto message.

Context in b/17357338, follow-up CL will store CachedNetworkParams and
copy into newly created STKs.

Merge internal change: 75897792
https://codereview.chromium.org/604173002/

Call QuicSentPacketManager's OnPacketSent method and make
OnRetransmittedPacket and OnSerializedPacket private.

Merge internal change: 75830237
https://codereview.chromium.org/593193004/

Change the return type of QuicConnection::CheckForTimeout from bool to
void since it is unused.

Merge internal change: 75724127
https://codereview.chromium.org/604163002/

Test-only.  Remove calls to OnSerializedPacket from
QuicSentPacketManagerTest, in preparation for OnSerializedPacket to be
removed.

Merge internal change: 75716236
https://codereview.chromium.org/600823006/

R=rch@chromium.org, sky@chromium.org

Added sky@ for OWNERS approval for chrome/browser and chrome/common
changes

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

Cr-Commit-Position: refs/heads/master@{#297208}
30 files changed:
chrome/browser/io_thread.cc
chrome/browser/io_thread.h
chrome/browser/io_thread_unittest.cc
chrome/common/chrome_switches.cc
chrome/common/chrome_switches.h
net/http/http_network_session.cc
net/http/http_network_session.h
net/quic/crypto/crypto_handshake_message.cc
net/quic/crypto/crypto_protocol.h
net/quic/crypto/source_address_token.h
net/quic/quic_config.cc
net/quic/quic_config.h
net/quic/quic_config_test.cc
net/quic/quic_connection.cc
net/quic/quic_connection.h
net/quic/quic_connection_test.cc
net/quic/quic_flags.cc
net/quic/quic_flags.h
net/quic/quic_sent_packet_manager.cc
net/quic/quic_sent_packet_manager.h
net/quic/quic_sent_packet_manager_test.cc
net/quic/quic_server_session.cc
net/quic/quic_stream_factory.cc
net/quic/quic_stream_factory.h
net/quic/quic_stream_factory_test.cc
net/quic/test_tools/quic_config_peer.cc
net/quic/test_tools/quic_config_peer.h
net/quic/test_tools/quic_test_utils.cc
net/tools/quic/quic_server_session.cc
net/tools/quic/quic_server_session_test.cc