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

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

Issue 2808273006: Landing Recent QUIC changes until Sun Apr 9 16:12:55 (Closed)
Patch Set: increment enabled_options in e2e test Created 3 years, 8 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_stream.cc ('k') | net/quic/core/quic_utils.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_CORE_QUIC_UTILS_H_ 5 #ifndef NET_QUIC_CORE_QUIC_UTILS_H_
6 #define NET_QUIC_CORE_QUIC_UTILS_H_ 6 #define NET_QUIC_CORE_QUIC_UTILS_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 #include <cstdint> 9 #include <cstdint>
10 #include <string> 10 #include <string>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // Returns PeerAddressChangeType as a std::string. 53 // Returns PeerAddressChangeType as a std::string.
54 static std::string PeerAddressChangeTypeToString(PeerAddressChangeType type); 54 static std::string PeerAddressChangeTypeToString(PeerAddressChangeType type);
55 55
56 // Determines and returns change type of address change from |old_address| to 56 // Determines and returns change type of address change from |old_address| to
57 // |new_address|. 57 // |new_address|.
58 static PeerAddressChangeType DetermineAddressChangeType( 58 static PeerAddressChangeType DetermineAddressChangeType(
59 const QuicSocketAddress& old_address, 59 const QuicSocketAddress& old_address,
60 const QuicSocketAddress& new_address); 60 const QuicSocketAddress& new_address);
61 61
62 // Returns whether connection id needs to be read/write in big endian.
63 // TODO(fayang): Remove this method once deprecating
64 // FLAGS_quic_restart_flag_quic_big_endian_connection_id_client and
65 // FLAGS_quic_restart_flag_quic_big_endian_connection_id_server.
66 static bool IsConnectionIdWireFormatBigEndian(Perspective perspective);
67
62 private: 68 private:
63 DISALLOW_COPY_AND_ASSIGN(QuicUtils); 69 DISALLOW_COPY_AND_ASSIGN(QuicUtils);
64 }; 70 };
65 71
66 } // namespace net 72 } // namespace net
67 73
68 #endif // NET_QUIC_CORE_QUIC_UTILS_H_ 74 #endif // NET_QUIC_CORE_QUIC_UTILS_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_stream.cc ('k') | net/quic/core/quic_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698