| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |