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

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

Issue 2124753005: Implements migration of a QUIC connection to a different destination address if specified by the se… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write-error
Patch Set: Comments addressed. Created 4 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CONFIG_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 20 matching lines...) Expand all
31 static void SetReceivedConnectionOptions(QuicConfig* config, 31 static void SetReceivedConnectionOptions(QuicConfig* config,
32 const QuicTagVector& options); 32 const QuicTagVector& options);
33 33
34 static void SetReceivedBytesForConnectionId(QuicConfig* config, 34 static void SetReceivedBytesForConnectionId(QuicConfig* config,
35 uint32_t bytes); 35 uint32_t bytes);
36 static void SetReceivedDisableConnectionMigration(QuicConfig* config); 36 static void SetReceivedDisableConnectionMigration(QuicConfig* config);
37 37
38 static void SetReceivedMaxIncomingDynamicStreams(QuicConfig* config, 38 static void SetReceivedMaxIncomingDynamicStreams(QuicConfig* config,
39 uint32_t max_streams); 39 uint32_t max_streams);
40 40
41 static void SetReceivedAlternateServerAddress(QuicConfig* config,
42 IPEndPoint addr);
43
41 private: 44 private:
42 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer); 45 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer);
43 }; 46 };
44 47
45 } // namespace test 48 } // namespace test
46 49
47 } // namespace net 50 } // namespace net
48 51
49 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ 52 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698