| Index: third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| diff --git a/third_party/WebKit/Source/platform/network/ResourceResponse.h b/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| index 49324615967e23b69f5c00ee4cf26f10d9486fc1..bc5e4df544696fe27e91a4d80db9bd28cc2d92d5 100644
|
| --- a/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| +++ b/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| @@ -322,6 +322,13 @@ class PLATFORM_EXPORT ResourceResponse final {
|
| m_remoteIPAddress = value;
|
| }
|
|
|
| + const AtomicString& alpnNegotiatedProtocol() const {
|
| + return m_alpnNegotiatedProtocol;
|
| + }
|
| + void setALPNNegotiatedProtocol(const AtomicString& value) {
|
| + m_alpnNegotiatedProtocol = value;
|
| + }
|
| +
|
| unsigned short remotePort() const { return m_remotePort; }
|
| void setRemotePort(unsigned short value) { m_remotePort = value; }
|
|
|
| @@ -465,6 +472,9 @@ class PLATFORM_EXPORT ResourceResponse final {
|
| // Remote IP address of the socket which fetched this resource.
|
| AtomicString m_remoteIPAddress;
|
|
|
| + // ALPN negotiated protocol of the socket which fetched this resource.
|
| + AtomicString m_alpnNegotiatedProtocol;
|
| +
|
| // Remote port number of the socket which fetched this resource.
|
| unsigned short m_remotePort;
|
|
|
| @@ -538,6 +548,7 @@ struct CrossThreadResourceResponseData {
|
| String m_cacheStorageCacheName;
|
| int64_t m_responseTime;
|
| String m_remoteIPAddress;
|
| + String m_alpnNegotiatedProtocol;
|
| unsigned short m_remotePort;
|
| long long m_encodedDataLength;
|
| long long m_encodedBodyLength;
|
|
|