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

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

Issue 687033002: Adding an option for peers to negotiate the length of the QUIC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_1028
Patch Set: Created 6 years, 1 month 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/test_tools/quic_config_peer.cc ('k') | net/quic/test_tools/quic_connection_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 (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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 static void SetWriter(QuicConnection* connection, 112 static void SetWriter(QuicConnection* connection,
113 QuicPacketWriter* writer, 113 QuicPacketWriter* writer,
114 bool owns_writer); 114 bool owns_writer);
115 static void CloseConnection(QuicConnection* connection); 115 static void CloseConnection(QuicConnection* connection);
116 static QuicEncryptedPacket* GetConnectionClosePacket( 116 static QuicEncryptedPacket* GetConnectionClosePacket(
117 QuicConnection* connection); 117 QuicConnection* connection);
118 118
119 static void SetSupportedVersions(QuicConnection* connection, 119 static void SetSupportedVersions(QuicConnection* connection,
120 QuicVersionVector versions); 120 QuicVersionVector versions);
121 121
122 static QuicPacketHeader* GetLastHeader(QuicConnection* connection);
123
122 private: 124 private:
123 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 125 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
124 }; 126 };
125 127
126 } // namespace test 128 } // namespace test
127 129
128 } // namespace net 130 } // namespace net
129 131
130 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ 132 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_config_peer.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