| Index: net/http/http_util.h
|
| diff --git a/net/http/http_util.h b/net/http/http_util.h
|
| index 14117c00289d22bd54c28398c28fdb99eb72a59f..dbd2f79cd0c85d0f18c27fc48b768cfd0726112b 100644
|
| --- a/net/http/http_util.h
|
| +++ b/net/http/http_util.h
|
| @@ -21,6 +21,10 @@
|
|
|
| namespace net {
|
|
|
| +class CertVerifyResult;
|
| +class SSLInfo;
|
| +class TransportSecurityState;
|
| +
|
| class NET_EXPORT HttpUtil {
|
| public:
|
| // Returns the absolute path of the URL, to be used for the http request.
|
| @@ -198,6 +202,13 @@ class NET_EXPORT HttpUtil {
|
| // returned by GetStatusCodesForHistogram.
|
| static int MapStatusCodeForHistogram(int code);
|
|
|
| + // Returns true if |hostname| can be pooled into an existing connection
|
| + // associated with |ssl_info|.
|
| + static bool CanPool(TransportSecurityState* transport_security_state,
|
| + const SSLInfo& ssl_info,
|
| + const std::string& old_hostname,
|
| + const std::string& new_hostname);
|
| +
|
| // Used to iterate over the name/value pairs of HTTP headers. To iterate
|
| // over the values in a multi-value header, use ValuesIterator.
|
| // See AssembleRawHeaders for joining line continuations (this iterator
|
|
|