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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "net/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
10 #include "net/quic/quic_connection_stats.h" 10 #include "net/quic/quic_connection_stats.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 static bool IsServer(QuicConnection* connection); 84 static bool IsServer(QuicConnection* connection);
85 85
86 static void SetIsServer(QuicConnection* connection, bool is_server); 86 static void SetIsServer(QuicConnection* connection, bool is_server);
87 87
88 static void SetSelfAddress(QuicConnection* connection, 88 static void SetSelfAddress(QuicConnection* connection,
89 const IPEndPoint& self_address); 89 const IPEndPoint& self_address);
90 90
91 static void SetPeerAddress(QuicConnection* connection, 91 static void SetPeerAddress(QuicConnection* connection,
92 const IPEndPoint& peer_address); 92 const IPEndPoint& peer_address);
93 93
94 static bool IsSilentCloseEnabled(QuicConnection* connection);
95
94 static void SwapCrypters(QuicConnection* connection, QuicFramer* framer); 96 static void SwapCrypters(QuicConnection* connection, QuicFramer* framer);
95 97
96 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection); 98 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection);
97 99
98 static QuicFramer* GetFramer(QuicConnection* connection); 100 static QuicFramer* GetFramer(QuicConnection* connection);
99 101
100 // Set last_header_->fec_group = fec_group and return connection->GetFecGroup 102 // Set last_header_->fec_group = fec_group and return connection->GetFecGroup
101 static QuicFecGroup* GetFecGroup(QuicConnection* connection, int fec_group); 103 static QuicFecGroup* GetFecGroup(QuicConnection* connection, int fec_group);
102 104
103 static QuicAlarm* GetAckAlarm(QuicConnection* connection); 105 static QuicAlarm* GetAckAlarm(QuicConnection* connection);
(...skipping 22 matching lines...) Expand all
126 128
127 private: 129 private:
128 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 130 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
129 }; 131 };
130 132
131 } // namespace test 133 } // namespace test
132 134
133 } // namespace net 135 } // namespace net
134 136
135 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ 137 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream.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