| OLD | NEW |
| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 std::string* error_details) override; | 209 std::string* error_details) override; |
| 210 | 210 |
| 211 private: | 211 private: |
| 212 QuicTagVector send_values_; | 212 QuicTagVector send_values_; |
| 213 bool has_send_values_; | 213 bool has_send_values_; |
| 214 QuicTagVector receive_values_; | 214 QuicTagVector receive_values_; |
| 215 bool has_receive_values_; | 215 bool has_receive_values_; |
| 216 }; | 216 }; |
| 217 | 217 |
| 218 // Stores IPEndPoint from CHLO or SHLO messages that are not negotiated. | 218 // Stores IPEndPoint from CHLO or SHLO messages that are not negotiated. |
| 219 class QuicFixedIPEndPoint : public QuicConfigValue { | 219 class NET_EXPORT_PRIVATE QuicFixedIPEndPoint : public QuicConfigValue { |
| 220 public: | 220 public: |
| 221 QuicFixedIPEndPoint(QuicTag tag, QuicConfigPresence presence); | 221 QuicFixedIPEndPoint(QuicTag tag, QuicConfigPresence presence); |
| 222 ~QuicFixedIPEndPoint() override; | 222 ~QuicFixedIPEndPoint() override; |
| 223 | 223 |
| 224 bool HasSendValue() const; | 224 bool HasSendValue() const; |
| 225 | 225 |
| 226 const IPEndPoint& GetSendValue() const; | 226 const IPEndPoint& GetSendValue() const; |
| 227 | 227 |
| 228 void SetSendValue(const IPEndPoint& value); | 228 void SetSendValue(const IPEndPoint& value); |
| 229 | 229 |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 // An alternate server address the client could connect to. | 450 // An alternate server address the client could connect to. |
| 451 QuicFixedIPEndPoint alternate_server_address_; | 451 QuicFixedIPEndPoint alternate_server_address_; |
| 452 | 452 |
| 453 // Force HOL blocking for measurement purposes. | 453 // Force HOL blocking for measurement purposes. |
| 454 QuicFixedUint32 force_hol_blocking_; | 454 QuicFixedUint32 force_hol_blocking_; |
| 455 }; | 455 }; |
| 456 | 456 |
| 457 } // namespace net | 457 } // namespace net |
| 458 | 458 |
| 459 #endif // NET_QUIC_QUIC_CONFIG_H_ | 459 #endif // NET_QUIC_QUIC_CONFIG_H_ |
| OLD | NEW |