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

Unified Diff: url/gurl.cc

Issue 23549039: Preparing to support fragment resolution against non-hierarchical schemes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 3 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 | « url/gurl.h ('k') | url/third_party/mozilla/url_parse.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/gurl.cc
diff --git a/url/gurl.cc b/url/gurl.cc
index 229df5dca2dbd6d1ab3de26c96d4d3afca49b60b..256e112fa3c6587bc0ee5b93fcc59b8007564cde 100644
--- a/url/gurl.cc
+++ b/url/gurl.cc
@@ -419,6 +419,10 @@ std::string GURL::HostNoBrackets() const {
return ComponentString(h);
}
+std::string GURL::GetContent() const {
+ return ComponentString(parsed_.GetContent());
joth 2013/09/20 18:08:16 return is_valid_ ? ComponentString(parsed_.GetCont
Kristian Monsen 2013/09/20 21:59:04 Done.
+}
+
bool GURL::HostIsIPAddress() const {
if (!is_valid_ || spec_.empty())
return false;
« no previous file with comments | « url/gurl.h ('k') | url/third_party/mozilla/url_parse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698