summaryrefslogtreecommitdiff
path: root/chromium/url/gurl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/url/gurl.h')
-rw-r--r--chromium/url/gurl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/url/gurl.h b/chromium/url/gurl.h
index da5f73602e3..4b986a6a4de 100644
--- a/chromium/url/gurl.h
+++ b/chromium/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 SchemeIsHTTPOrHTTPS() 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 {