Searched refs:UrlUtilities (Results 1 – 7 of 7) sorted by relevance
17 UrlUtilities::GetUrlHost("http://www.foo.com")); in TEST()19 UrlUtilities::GetUrlHost("http://www.foo.com:80")); in TEST()21 UrlUtilities::GetUrlHost("http://www.foo.com:80/")); in TEST()23 UrlUtilities::GetUrlHost("http://www.foo.com/news")); in TEST()25 UrlUtilities::GetUrlHost("www.foo.com:80/news?q=hello")); in TEST()27 UrlUtilities::GetUrlHost("www.foo.com/news?q=a:b")); in TEST()29 UrlUtilities::GetUrlHost("www.foo.com:80")); in TEST()34 UrlUtilities::GetUrlHostPath("http://www.foo.com")); in TEST()36 UrlUtilities::GetUrlHostPath("http://www.foo.com:80")); in TEST()38 UrlUtilities::GetUrlHostPath("http://www.foo.com:80/")); in TEST()[all …]
13 std::string UrlUtilities::GetUrlHost(const std::string& url) { in GetUrlHost()36 std::string UrlUtilities::GetUrlHostPath(const std::string& url) { in GetUrlHostPath()45 std::string UrlUtilities::GetUrlPath(const std::string& url) { in GetUrlPath()72 std::string UrlUtilities::Unescape(const std::string& escaped_url) { in Unescape()
102 std::string url_no_scheme = UrlUtilities::GetUrlHostPath(url); in Encode()112 std::string host = UrlUtilities::GetUrlHost(clean_url); in Encode()121 std::string url_filename = UrlUtilities::GetUrlPath(clean_url); in Encode()
13 struct UrlUtilities { struct
91 string filename_ending = UrlUtilities::Unescape(escaped_ending); in EncodeSegment()
184 uri = UrlUtilities::GetUrlPath(url->second); in SpdyHandleNewStream()189 std::string host = UrlUtilities::GetUrlHost(url->second); in SpdyHandleNewStream()471 block["path"] = UrlUtilities::GetUrlPath(original_url); in SendSynStreamImpl()
51 UrlUtilities::GetUrlHost(headers.GetHeader("Host").as_string()); in ProcessHeaders()