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

Side by Side Diff: net/quic/quic_config.h

Issue 147763009: Add the client address to the Public Reset packet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove crypto_handshake_message.* from the CL; they were committed separately Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/crypto/quic_crypto_server_config_test.cc ('k') | net/quic/quic_config.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_QUIC_CONFIG_H_ 5 #ifndef NET_QUIC_QUIC_CONFIG_H_
6 #define NET_QUIC_QUIC_CONFIG_H_ 6 #define NET_QUIC_QUIC_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "net/quic/crypto/crypto_handshake.h"
12 #include "net/quic/quic_protocol.h" 11 #include "net/quic/quic_protocol.h"
13 #include "net/quic/quic_time.h" 12 #include "net/quic/quic_time.h"
14 #include "net/quic/quic_utils.h"
15 13
16 namespace net { 14 namespace net {
17 15
16 class CryptoHandshakeMessage;
17
18 class NET_EXPORT_PRIVATE QuicNegotiableValue { 18 class NET_EXPORT_PRIVATE QuicNegotiableValue {
19 public: 19 public:
20 enum Presence { 20 enum Presence {
21 // This negotiable value can be absent from the handshake message. Default 21 // This negotiable value can be absent from the handshake message. Default
22 // value is selected as the negotiated value in such a case. 22 // value is selected as the negotiated value in such a case.
23 PRESENCE_OPTIONAL, 23 PRESENCE_OPTIONAL,
24 // This negotiable value is required in the handshake message otherwise the 24 // This negotiable value is required in the handshake message otherwise the
25 // Process*Hello function returns an error. 25 // Process*Hello function returns an error.
26 PRESENCE_REQUIRED, 26 PRESENCE_REQUIRED,
27 }; 27 };
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 QuicTime::Delta max_time_before_crypto_handshake_; 204 QuicTime::Delta max_time_before_crypto_handshake_;
205 // Initial congestion window in packets. 205 // Initial congestion window in packets.
206 QuicNegotiableUint32 server_initial_congestion_window_; 206 QuicNegotiableUint32 server_initial_congestion_window_;
207 // Initial round trip time estimate in microseconds. 207 // Initial round trip time estimate in microseconds.
208 QuicNegotiableUint32 initial_round_trip_time_us_; 208 QuicNegotiableUint32 initial_round_trip_time_us_;
209 }; 209 };
210 210
211 } // namespace net 211 } // namespace net
212 212
213 #endif // NET_QUIC_QUIC_CONFIG_H_ 213 #endif // NET_QUIC_QUIC_CONFIG_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/quic_crypto_server_config_test.cc ('k') | net/quic/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698