| Index: net/base/host_port_pair.h
|
| diff --git a/net/base/host_port_pair.h b/net/base/host_port_pair.h
|
| index 8fa9b3e143ab85c17592eb934e6b7cbd21e3bb88..ce991239b77d6f2540bd85a440c3738e9266289e 100644
|
| --- a/net/base/host_port_pair.h
|
| +++ b/net/base/host_port_pair.h
|
| @@ -11,6 +11,7 @@
|
| #include <tuple>
|
|
|
| #include "net/base/net_export.h"
|
| +#include "url/scheme_host_port.h"
|
|
|
| class GURL;
|
|
|
| @@ -27,6 +28,9 @@ class NET_EXPORT HostPortPair {
|
| // Creates a HostPortPair for the origin of |url|.
|
| static HostPortPair FromURL(const GURL& url);
|
|
|
| + // Creates a HostPortPair from SchemeHostPort.
|
| + static HostPortPair FromSchemeHostPort(const url::SchemeHostPort& origin);
|
| +
|
| // Creates a HostPortPair from an IPEndPoint.
|
| static HostPortPair FromIPEndPoint(const IPEndPoint& ipe);
|
|
|
|
|