| 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 f2cc0373c48282dea11f55163c555ef2cb7943a7..9a5cf20750d12ab0245b94eff75b574792603cf1 100644
|
| --- a/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.h
|
| +++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.h
|
| @@ -330,6 +330,12 @@ class PLATFORM_EXPORT ResourceResponse final {
|
| m_remoteIPAddress = value;
|
| }
|
|
|
| + const AtomicString& alpnNegotiatedProtocol() const;
|
| + void setALPNNegotiatedProtocol(const AtomicString& value);
|
| +
|
| + const AtomicString& connectionInfo() const;
|
| + void setConnectionInfo(const AtomicString& value);
|
| +
|
| unsigned short remotePort() const { return m_remotePort; }
|
| void setRemotePort(unsigned short value) { m_remotePort = value; }
|
|
|
| @@ -466,6 +472,12 @@ 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;
|
| +
|
| + // Information about the type of connection used to fetch this resource.
|
| + AtomicString m_connectionInfo;
|
| +
|
| // Remote port number of the socket which fetched this resource.
|
| unsigned short m_remotePort;
|
|
|
| @@ -536,6 +548,8 @@ struct CrossThreadResourceResponseData {
|
| bool m_didServiceWorkerNavigationPreload;
|
| int64_t m_responseTime;
|
| String m_remoteIPAddress;
|
| + String m_alpnNegotiatedProtocol;
|
| + String m_connectionInfo;
|
| unsigned short m_remotePort;
|
| long long m_encodedDataLength;
|
| long long m_encodedBodyLength;
|
|
|