Index: url/gurl.h |
diff --git a/url/gurl.h b/url/gurl.h |
index cf5785a56c6cf4aa1f8551ef1edfe32bcad3b506..1d388cd130c8527e5ba8822a6715f587d038d245 100644 |
--- a/url/gurl.h |
+++ b/url/gurl.h |
@@ -236,6 +236,11 @@ class URL_EXPORT GURL { |
(SchemeIsFileSystem() && inner_url() && inner_url()->SchemeIsSecure()); |
} |
+ // Returns true if the scheme is "blob". |
+ bool SchemeIsBlob() const { |
+ return SchemeIs(url::kBlobScheme); |
+ } |
+ |
// The "content" of the URL is everything after the scheme (skipping the |
// scheme delimiting colon). It is an error to get the origin of an invalid |
// URL. The result will be an empty string. |