Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: net/quic/test_tools/quic_stream_factory_peer.h

Issue 2301453002: Quic use reduced PING timeout when previous connection times out with open streams (Closed)
Patch Set: address nits Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_connection.cc ('k') | net/quic/test_tools/quic_stream_factory_peer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 static bool IsLiveSession(QuicStreamFactory* factory, 51 static bool IsLiveSession(QuicStreamFactory* factory,
52 QuicChromiumClientSession* session); 52 QuicChromiumClientSession* session);
53 53
54 static void SetTaskRunner(QuicStreamFactory* factory, 54 static void SetTaskRunner(QuicStreamFactory* factory,
55 base::TaskRunner* task_runner); 55 base::TaskRunner* task_runner);
56 56
57 static int GetNumberOfLossyConnections(QuicStreamFactory* factory, 57 static int GetNumberOfLossyConnections(QuicStreamFactory* factory,
58 uint16_t port); 58 uint16_t port);
59 59
60 static QuicTime::Delta GetPingTimeout(QuicStreamFactory* factory);
61
60 static bool IsQuicDisabled(QuicStreamFactory* factory, uint16_t port); 62 static bool IsQuicDisabled(QuicStreamFactory* factory, uint16_t port);
61 63
62 static bool GetDelayTcpRace(QuicStreamFactory* factory); 64 static bool GetDelayTcpRace(QuicStreamFactory* factory);
63 65
64 static void SetDelayTcpRace(QuicStreamFactory* factory, bool delay_tcp_race); 66 static void SetDelayTcpRace(QuicStreamFactory* factory, bool delay_tcp_race);
65 67
66 static bool GetRaceCertVerification(QuicStreamFactory* factory); 68 static bool GetRaceCertVerification(QuicStreamFactory* factory);
67 69
68 static void SetRaceCertVerification(QuicStreamFactory* factory, 70 static void SetRaceCertVerification(QuicStreamFactory* factory,
69 bool race_cert_verification); 71 bool race_cert_verification);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 static int GetNumPushStreamsCreated(QuicStreamFactory* factory); 108 static int GetNumPushStreamsCreated(QuicStreamFactory* factory);
107 109
108 private: 110 private:
109 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer); 111 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer);
110 }; 112 };
111 113
112 } // namespace test 114 } // namespace test
113 } // namespace net 115 } // namespace net
114 116
115 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ 117 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_connection.cc ('k') | net/quic/test_tools/quic_stream_factory_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698