Chromium Code Reviews| Index: net/http/http_util.h |
| diff --git a/net/http/http_util.h b/net/http/http_util.h |
| index ae65146e6e4a42a21f673787d037f06330c9eb0b..9869bf123135e3d141a1dae882c6781e29616c1c 100644 |
| --- a/net/http/http_util.h |
| +++ b/net/http/http_util.h |
| @@ -198,6 +198,9 @@ class NET_EXPORT HttpUtil { |
| // returned by GetStatusCodesForHistogram. |
| static int MapStatusCodeForHistogram(int code); |
| + // Returns true if the URL scheme is "ws" or "wss". |
| + static bool SchemeIsWsOrWss(const GURL& url); |
|
yhirano
2013/11/18 04:14:07
[optional] Using this function in http_auth_handle
yhirano
2013/11/18 04:32:36
might by => might be
Sorry!
|
| + |
| // 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 |