Index: net/quic/quic_utils.h |
diff --git a/net/quic/quic_utils.h b/net/quic/quic_utils.h |
index 1ecb37d6c9046415a38676a8a44dc96c0ca0d721..2c34ec4245b0c085c6ad760415dc6002f3611282 100644 |
--- a/net/quic/quic_utils.h |
+++ b/net/quic/quic_utils.h |
@@ -7,6 +7,8 @@ |
#ifndef NET_QUIC_QUIC_UTILS_H_ |
#define NET_QUIC_QUIC_UTILS_H_ |
+#include <string> |
+ |
#include "net/base/int128.h" |
#include "net/base/net_export.h" |
#include "net/quic/quic_protocol.h" |
@@ -68,6 +70,11 @@ class NET_EXPORT_PRIVATE QuicUtils { |
// if not. |
static std::string TagToString(QuicTag tag); |
+ // Returns the list of QUIC tags represented by the comma separated |
+ // string in |connection_options|. |
+ static QuicTagVector ParseQuicConnectionOptions( |
+ const std::string& connection_options); |
+ |
// Given a binary buffer, return a hex+ASCII dump in the style of |
// tcpdump's -X and -XX options: |
// "0x0000: 0090 69bd 5400 000d 610f 0189 0800 4500 ..i.T...a.....E.\n" |