| Index: third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.h
|
| diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.h b/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.h
|
| index 33bcae001a7d545f19e2332927361a759edfac36..d0243d0bf562dd03fc7e0a03f6e6525f123ad4e5 100644
|
| --- a/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.h
|
| +++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.h
|
| @@ -341,6 +341,22 @@ class PLATFORM_EXPORT ResourceResponse final {
|
| unsigned short RemotePort() const { return remote_port_; }
|
| void SetRemotePort(unsigned short value) { remote_port_ = value; }
|
|
|
| + const AtomicString& AlpnNegotiatedProtocol() const {
|
| + return alpn_negotiated_protocol_;
|
| + }
|
| + void SetAlpnNegotiatedProtocol(const AtomicString& value) {
|
| + alpn_negotiated_protocol_ = value;
|
| + }
|
| +
|
| + net::HttpResponseInfo::ConnectionInfo ConnectionInfo() const {
|
| + return connection_info_;
|
| + }
|
| + void SetConnectionInfo(net::HttpResponseInfo::ConnectionInfo value) {
|
| + connection_info_ = value;
|
| + }
|
| +
|
| + String ConnectionInfoString() const;
|
| +
|
| long long EncodedDataLength() const { return encoded_data_length_; }
|
| void SetEncodedDataLength(long long value);
|
|
|
| @@ -477,6 +493,12 @@ class PLATFORM_EXPORT ResourceResponse final {
|
| // Remote port number of the socket which fetched this resource.
|
| unsigned short remote_port_;
|
|
|
| + // ALPN negotiated protocol of the socket which fetched this resource.
|
| + AtomicString alpn_negotiated_protocol_;
|
| +
|
| + // Information about the type of connection used to fetch this resource.
|
| + net::HttpResponseInfo::ConnectionInfo connection_info_;
|
| +
|
| // Size of the response in bytes prior to decompression.
|
| long long encoded_data_length_;
|
|
|
|
|