Chromium Code Reviews| Index: url/gurl.h |
| diff --git a/url/gurl.h b/url/gurl.h |
| index da5f73602e356ba0673cd1a7a1d5cf4b229285db..6c492f19810bd64ea1816a436f8b16aead4bebfc 100644 |
| --- a/url/gurl.h |
| +++ b/url/gurl.h |
| @@ -203,6 +203,9 @@ class URL_EXPORT GURL { |
| // object constructions are done. |
| bool SchemeIs(const char* lower_ascii_scheme) const; |
| + // Returns true if the scheme is "http" or "https". |
| + bool SchemeIsHttp() const; |
|
abarth-chromium
2013/08/19 18:10:26
SchemeIsHttpFamily?
It would surprise me if a fun
Cris Neckar
2013/08/19 20:15:49
Done.
|
| + |
| // 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 { |