Searched refs:accept_language (Results 1 – 6 of 6) sorted by relevance
36 std::string accept_language = language; in CanBeAcceptLanguage() local37 translate::ToChromeLanguageSynonym(&accept_language); in CanBeAcceptLanguage()46 accept_language) != accept_language_codes.end()) { in CanBeAcceptLanguage()54 std::string accept_language = language; in IsAcceptLanguage() local55 translate::ToChromeLanguageSynonym(&accept_language); in IsAcceptLanguage()56 return accept_languages_.find(accept_language) != accept_languages_.end(); in IsAcceptLanguage()
10 const std::string& accept_language, in StaticHttpUserAgentSettings() argument12 : accept_language_(accept_language), in StaticHttpUserAgentSettings()
82 void set_accept_language(const std::string& accept_language) { in set_accept_language() argument83 accept_language_ = accept_language; in set_accept_language()
21 StaticHttpUserAgentSettings(const std::string& accept_language,
531 std::string accept_language = in AddExtraHeaders() local533 if (!accept_language.empty()) { in AddExtraHeaders()536 accept_language); in AddExtraHeaders()
197 accept_language = self._request.headers.get('Accept-Language', None)198 if accept_language is None:201 for lang_with_q in accept_language.split(',')]