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

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

Issue 1977303002: Revert of QUIC - enable "delay_tcp_race" parameter by default. This feature showed (patchset #3 id:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/quic_stream_factory_test.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 QuicChromiumClientSession* session); 48 QuicChromiumClientSession* session);
49 49
50 static void SetTaskRunner(QuicStreamFactory* factory, 50 static void SetTaskRunner(QuicStreamFactory* factory,
51 base::TaskRunner* task_runner); 51 base::TaskRunner* task_runner);
52 52
53 static int GetNumberOfLossyConnections(QuicStreamFactory* factory, 53 static int GetNumberOfLossyConnections(QuicStreamFactory* factory,
54 uint16_t port); 54 uint16_t port);
55 55
56 static bool IsQuicDisabled(QuicStreamFactory* factory, uint16_t port); 56 static bool IsQuicDisabled(QuicStreamFactory* factory, uint16_t port);
57 57
58 static bool GetDelayTcpRace(QuicStreamFactory* factory);
59
60 static void SetDelayTcpRace(QuicStreamFactory* factory, bool delay_tcp_race);
61
58 static void SetYieldAfterPackets(QuicStreamFactory* factory, 62 static void SetYieldAfterPackets(QuicStreamFactory* factory,
59 int yield_after_packets); 63 int yield_after_packets);
60 64
61 static void SetYieldAfterDuration(QuicStreamFactory* factory, 65 static void SetYieldAfterDuration(QuicStreamFactory* factory,
62 QuicTime::Delta yield_after_duration); 66 QuicTime::Delta yield_after_duration);
63 67
64 static size_t GetNumberOfActiveJobs(QuicStreamFactory* factory, 68 static size_t GetNumberOfActiveJobs(QuicStreamFactory* factory,
65 const QuicServerId& server_id); 69 const QuicServerId& server_id);
66 70
67 static int GetNumTimeoutsWithOpenStreams(QuicStreamFactory* factory); 71 static int GetNumTimeoutsWithOpenStreams(QuicStreamFactory* factory);
(...skipping 20 matching lines...) Expand all
88 static int GetNumPushStreamsCreated(QuicStreamFactory* factory); 92 static int GetNumPushStreamsCreated(QuicStreamFactory* factory);
89 93
90 private: 94 private:
91 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer); 95 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer);
92 }; 96 };
93 97
94 } // namespace test 98 } // namespace test
95 } // namespace net 99 } // namespace net
96 100
97 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ 101 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_stream_factory_test.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