| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 static void SetDelayTcpRace(QuicStreamFactory* factory, bool delay_tcp_race); | 63 static void SetDelayTcpRace(QuicStreamFactory* factory, bool delay_tcp_race); |
| 64 | 64 |
| 65 static bool GetRaceCertVerification(QuicStreamFactory* factory); | 65 static bool GetRaceCertVerification(QuicStreamFactory* factory); |
| 66 | 66 |
| 67 static void SetRaceCertVerification(QuicStreamFactory* factory, | 67 static void SetRaceCertVerification(QuicStreamFactory* factory, |
| 68 bool race_cert_verification); | 68 bool race_cert_verification); |
| 69 | 69 |
| 70 static QuicAsyncStatus StartCertVerifyJob(QuicStreamFactory* factory, | 70 static QuicAsyncStatus StartCertVerifyJob(QuicStreamFactory* factory, |
| 71 const QuicServerId& server_id, | 71 const QuicServerId& server_id, |
| 72 int cert_verify_flags, | 72 int cert_verify_flags, |
| 73 const BoundNetLog& net_log); | 73 const NetLogWithSource& net_log); |
| 74 | 74 |
| 75 static void SetYieldAfterPackets(QuicStreamFactory* factory, | 75 static void SetYieldAfterPackets(QuicStreamFactory* factory, |
| 76 int yield_after_packets); | 76 int yield_after_packets); |
| 77 | 77 |
| 78 static void SetYieldAfterDuration(QuicStreamFactory* factory, | 78 static void SetYieldAfterDuration(QuicStreamFactory* factory, |
| 79 QuicTime::Delta yield_after_duration); | 79 QuicTime::Delta yield_after_duration); |
| 80 | 80 |
| 81 static size_t GetNumberOfActiveJobs(QuicStreamFactory* factory, | 81 static size_t GetNumberOfActiveJobs(QuicStreamFactory* factory, |
| 82 const QuicServerId& server_id); | 82 const QuicServerId& server_id); |
| 83 | 83 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 101 static int GetNumPushStreamsCreated(QuicStreamFactory* factory); | 101 static int GetNumPushStreamsCreated(QuicStreamFactory* factory); |
| 102 | 102 |
| 103 private: | 103 private: |
| 104 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer); | 104 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer); |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 } // namespace test | 107 } // namespace test |
| 108 } // namespace net | 108 } // namespace net |
| 109 | 109 |
| 110 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ | 110 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ |
| OLD | NEW |