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

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

Issue 2739313002: Remove multipath_enabled from quic_config and quic_connection. No functional change expected. (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CONNECTION_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/quic/core/quic_connection.h" 9 #include "net/quic/core/quic_connection.h"
10 #include "net/quic/core/quic_connection_stats.h" 10 #include "net/quic/core/quic_connection_stats.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 Perspective perspective); 59 Perspective perspective);
60 60
61 static void SetSelfAddress(QuicConnection* connection, 61 static void SetSelfAddress(QuicConnection* connection,
62 const QuicSocketAddress& self_address); 62 const QuicSocketAddress& self_address);
63 63
64 static void SetPeerAddress(QuicConnection* connection, 64 static void SetPeerAddress(QuicConnection* connection,
65 const QuicSocketAddress& peer_address); 65 const QuicSocketAddress& peer_address);
66 66
67 static bool IsSilentCloseEnabled(QuicConnection* connection); 67 static bool IsSilentCloseEnabled(QuicConnection* connection);
68 68
69 static bool IsMultipathEnabled(QuicConnection* connection);
70
71 static void SwapCrypters(QuicConnection* connection, QuicFramer* framer); 69 static void SwapCrypters(QuicConnection* connection, QuicFramer* framer);
72 70
73 static void SetCurrentPacket(QuicConnection* connection, 71 static void SetCurrentPacket(QuicConnection* connection,
74 QuicStringPiece current_packet); 72 QuicStringPiece current_packet);
75 73
76 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection); 74 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection);
77 75
78 static QuicAlarmFactory* GetAlarmFactory(QuicConnection* connection); 76 static QuicAlarmFactory* GetAlarmFactory(QuicConnection* connection);
79 77
80 static QuicFramer* GetFramer(QuicConnection* connection); 78 static QuicFramer* GetFramer(QuicConnection* connection);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 118
121 private: 119 private:
122 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 120 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
123 }; 121 };
124 122
125 } // namespace test 123 } // namespace test
126 124
127 } // namespace net 125 } // namespace net
128 126
129 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ 127 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_server_session_base_test.cc ('k') | net/quic/test_tools/quic_connection_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698