Home
last modified time | relevance | path

Searched refs:accept_language (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/components/translate/core/browser/
Dtranslate_accept_languages.cc36 std::string accept_language = language; in CanBeAcceptLanguage() local
37 translate::ToChromeLanguageSynonym(&accept_language); in CanBeAcceptLanguage()
46 accept_language) != accept_language_codes.end()) { in CanBeAcceptLanguage()
54 std::string accept_language = language; in IsAcceptLanguage() local
55 translate::ToChromeLanguageSynonym(&accept_language); in IsAcceptLanguage()
56 return accept_languages_.find(accept_language) != accept_languages_.end(); in IsAcceptLanguage()
/external/chromium_org/net/url_request/
Dstatic_http_user_agent_settings.cc10 const std::string& accept_language, in StaticHttpUserAgentSettings() argument
12 : accept_language_(accept_language), in StaticHttpUserAgentSettings()
Durl_request_context_builder.h82 void set_accept_language(const std::string& accept_language) { in set_accept_language() argument
83 accept_language_ = accept_language; in set_accept_language()
Dstatic_http_user_agent_settings.h21 StaticHttpUserAgentSettings(const std::string& accept_language,
Durl_request_http_job.cc531 std::string accept_language = in AddExtraHeaders() local
533 if (!accept_language.empty()) { in AddExtraHeaders()
536 accept_language); in AddExtraHeaders()
/external/chromium_org/chrome/common/extensions/docs/server2/
Dsamples_data_source.py197 accept_language = self._request.headers.get('Accept-Language', None)
198 if accept_language is None:
201 for lang_with_q in accept_language.split(',')]