Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Unified Diff: url/gurl.h

Issue 2686853004: Move IsAboutBlank from url_utils to GURL (Closed)
Patch Set: Addressed nit Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/navigation_params.cc ('k') | url/gurl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/gurl.h
diff --git a/url/gurl.h b/url/gurl.h
index d7d575b1e1633d3ddf95006043042dd7da37befc..ae2c40889f9aa6526307d17cad164c247ad547f1 100644
--- a/url/gurl.h
+++ b/url/gurl.h
@@ -203,6 +203,10 @@ class URL_EXPORT GURL {
// by calling SchemeIsFile[System].
bool IsStandard() const;
+ // Returns true when the url is of the form about:blank, about:blank?foo or
+ // about:blank/#foo.
+ bool IsAboutBlank() const;
+
// Returns true if the given parameter (should be lower-case ASCII to match
// the canonicalized scheme) is the scheme for this URL. Do not include a
// colon.
« no previous file with comments | « content/common/navigation_params.cc ('k') | url/gurl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698