Chromium Code Reviews| 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; |