| Index: url/scheme_host_port.h
|
| diff --git a/url/scheme_host_port.h b/url/scheme_host_port.h
|
| index 47a9041e2afd8e1db1b92654b0d72cfddef9bdd4..5066b7a664e6b546179350ab6c94c1126cc95309 100644
|
| --- a/url/scheme_host_port.h
|
| +++ b/url/scheme_host_port.h
|
| @@ -95,6 +95,8 @@ class URL_EXPORT SchemeHostPort {
|
|
|
| ~SchemeHostPort();
|
|
|
| + static SchemeHostPort FromString(const std::string& url_string);
|
| +
|
| // Returns the host component, in URL form. That is all IDN domain names will
|
| // be expressed as A-Labels ('☃.net' will be returned as 'xn--n3h.net'), and
|
| // and all IPv6 addresses will be enclosed in brackets ("[2001:db8::1]").
|
| @@ -111,6 +113,9 @@ class URL_EXPORT SchemeHostPort {
|
| // serialized as a unique Origin.
|
| std::string Serialize() const;
|
|
|
| + // ToString() will convert the SchemeHostPort to "scheme://host:port".
|
| + std::string ToString() const;
|
| +
|
| // Two SchemeHostPort objects are "equal" iff their schemes, hosts, and ports
|
| // are exact matches.
|
| //
|
|
|