| Index: url/gurl.h
|
| diff --git a/url/gurl.h b/url/gurl.h
|
| index d4ea10fbcf09ccf43461c9b801393092d79e0b30..d145ab65a5395ecf3b00e906a12f4f35f80fc8de 100644
|
| --- a/url/gurl.h
|
| +++ b/url/gurl.h
|
| @@ -210,6 +210,9 @@ class URL_EXPORT GURL {
|
| // Returns true if the scheme is "http" or "https".
|
| bool SchemeIsHTTPOrHTTPS() const;
|
|
|
| + // Returns true is the scheme is "ws" or "wss".
|
| + bool SchemeIsWSOrWSS() const;
|
| +
|
| // We often need to know if this is a file URL. File URLs are "standard", but
|
| // are often treated separately by some programs.
|
| bool SchemeIsFile() const {
|
|
|