Index: url/url_util.h |
diff --git a/url/url_util.h b/url/url_util.h |
index a4b74b13e5db1fe6241b4a70ce747d81fd52e67f..3559169c1d926b50c8f3bdbdd7787082db2b9934 100644 |
--- a/url/url_util.h |
+++ b/url/url_util.h |
@@ -10,6 +10,7 @@ |
#include "base/strings/string16.h" |
#include "base/strings/string_piece.h" |
+#include "url/gurl.h" |
#include "url/third_party/mozilla/url_parse.h" |
#include "url/url_canon.h" |
#include "url/url_constants.h" |
@@ -152,6 +153,9 @@ URL_EXPORT bool IsReferrerScheme(const char* spec, const Component& scheme); |
URL_EXPORT bool GetStandardSchemeType(const char* spec, |
const Component& scheme, |
SchemeType* type); |
+// Check whether the url is of the form about:blank, about:blank?foo or |
+// about:blank/#foo. |
+URL_EXPORT bool IsAboutBlankURL(const GURL& url); |
Mike West
2017/01/20 12:57:57
Nit: `IsAboutBlank` is shorter, and seems clear en
clamy
2017/01/20 13:19:28
Done.
|
// Hosts ---------------------------------------------------------------------- |