Searched refs:possibly_invalid_url (Results 1 – 2 of 2) sorted by relevance
105 std::string possibly_invalid_url = path.substr(parsed_index); in ParseFaviconPath() local109 if (!GURL(possibly_invalid_url).has_scheme()) in ParseFaviconPath()110 possibly_invalid_url = "http://" + possibly_invalid_url; in ParseFaviconPath()113 parsed->url = GURL(possibly_invalid_url).GetOrigin().spec(); in ParseFaviconPath()
282 std::string possibly_invalid_url; in Execute() local284 if (!context->current_node()->GetAsString(&possibly_invalid_url) || in Execute()285 !GetRegisterableDomain(possibly_invalid_url, &domain)) in Execute()296 static bool GetRegisterableDomain(const std::string& possibly_invalid_url, in GetRegisterableDomain() argument300 GURL url(possibly_invalid_url); in GetRegisterableDomain()