Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebURLResponse.h |
| diff --git a/third_party/WebKit/public/platform/WebURLResponse.h b/third_party/WebKit/public/platform/WebURLResponse.h |
| index a77d464ebc3776035637da044c6897c8fd8a4035..d00f6f11d8c058254b8ca3845110740f0202684e 100644 |
| --- a/third_party/WebKit/public/platform/WebURLResponse.h |
| +++ b/third_party/WebKit/public/platform/WebURLResponse.h |
| @@ -31,13 +31,14 @@ |
| #ifndef WebURLResponse_h |
| #define WebURLResponse_h |
| +#include <memory> |
|
panicker
2017/06/08 23:39:09
add net/http to the list here: https://cs.chromium
shaseley
2017/06/09 00:27:51
Done.
|
| +#include "net/http/http_response_info.h" |
| #include "public/platform/WebCString.h" |
| #include "public/platform/WebCommon.h" |
| #include "public/platform/WebSecurityStyle.h" |
| #include "public/platform/WebString.h" |
| #include "public/platform/WebVector.h" |
| #include "public/platform/modules/serviceworker/WebServiceWorkerResponseType.h" |
| -#include <memory> |
| namespace blink { |
| @@ -269,6 +270,16 @@ class WebURLResponse { |
| BLINK_PLATFORM_EXPORT unsigned short RemotePort() const; |
| BLINK_PLATFORM_EXPORT void SetRemotePort(unsigned short); |
| + // ALPN negotiated protocol of the socket which fetched this resource. |
| + BLINK_PLATFORM_EXPORT WebString AlpnNegotiatedProtocol() const; |
| + BLINK_PLATFORM_EXPORT void SetAlpnNegotiatedProtocol(const WebString&); |
| + |
| + // Information about the type of connection used to fetch this resource. |
| + BLINK_PLATFORM_EXPORT net::HttpResponseInfo::ConnectionInfo ConnectionInfo() |
| + const; |
| + BLINK_PLATFORM_EXPORT void SetConnectionInfo( |
| + net::HttpResponseInfo::ConnectionInfo); |
| + |
| // Original size of the response before decompression. |
| BLINK_PLATFORM_EXPORT void SetEncodedDataLength(long long); |