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

Side by Side Diff: net/quic/core/quic_protocol.h

Issue 2242423002: Disable QUIC versions less than v32, protected by --FLAGS_quic_disable_pre_32. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@130124951
Patch Set: Created 4 years, 4 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
« no previous file with comments | « net/quic/core/quic_flags.cc ('k') | net/quic/core/quic_protocol.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_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 // Used to generate filtered supported versions based on flags. 1414 // Used to generate filtered supported versions based on flags.
1415 class NET_EXPORT_PRIVATE QuicVersionManager { 1415 class NET_EXPORT_PRIVATE QuicVersionManager {
1416 public: 1416 public:
1417 explicit QuicVersionManager(QuicVersionVector supported_versions); 1417 explicit QuicVersionManager(QuicVersionVector supported_versions);
1418 ~QuicVersionManager(); 1418 ~QuicVersionManager();
1419 1419
1420 // Returns supported versions based on flags. 1420 // Returns supported versions based on flags.
1421 const QuicVersionVector& GetSupportedVersions(); 1421 const QuicVersionVector& GetSupportedVersions();
1422 1422
1423 private: 1423 private:
1424 // FLAGS_quic_disable_pre_32
1425 bool disable_pre_32_;
1424 // FLAGS_quic_enable_version_35 1426 // FLAGS_quic_enable_version_35
1425 bool enable_quic_version_35_; 1427 bool enable_version_35_;
1426 // FLAGS_quic_enable_version_36_v2 1428 // FLAGS_quic_enable_version_36_v2
1427 bool enable_quic_version_36_; 1429 bool enable_version_36_;
1428 // The list of versions that may be supported. 1430 // The list of versions that may be supported.
1429 QuicVersionVector allowed_supported_versions_; 1431 QuicVersionVector allowed_supported_versions_;
1430 // This vector contains QUIC versions which are currently supported based 1432 // This vector contains QUIC versions which are currently supported based
1431 // on flags. 1433 // on flags.
1432 QuicVersionVector filtered_supported_versions_; 1434 QuicVersionVector filtered_supported_versions_;
1433 }; 1435 };
1434 1436
1435 struct NET_EXPORT_PRIVATE AckListenerWrapper { 1437 struct NET_EXPORT_PRIVATE AckListenerWrapper {
1436 AckListenerWrapper(QuicAckListenerInterface* listener, 1438 AckListenerWrapper(QuicAckListenerInterface* listener,
1437 QuicPacketLength data_length); 1439 QuicPacketLength data_length);
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1558 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1557 1559
1558 const struct iovec* iov; 1560 const struct iovec* iov;
1559 const int iov_count; 1561 const int iov_count;
1560 const size_t total_length; 1562 const size_t total_length;
1561 }; 1563 };
1562 1564
1563 } // namespace net 1565 } // namespace net
1564 1566
1565 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1567 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_flags.cc ('k') | net/quic/core/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698