Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/translate/
Dtranslate_accept_languages.cc31 std::string accept_language = language; in CanBeAcceptLanguage() local
32 translate::ToChromeLanguageSynonym(&accept_language); in CanBeAcceptLanguage()
40 accept_language) != accept_language_codes.end()) { in CanBeAcceptLanguage()
75 std::string accept_language = language; in IsAcceptLanguage() local
76 translate::ToChromeLanguageSynonym(&accept_language); in IsAcceptLanguage()
77 return iter->second.count(accept_language) != 0; in IsAcceptLanguage()
/external/chromium_org/chrome/browser/net/
Dbasic_http_user_agent_settings.cc10 const std::string& accept_language) in BasicHttpUserAgentSettings() argument
11 : accept_language_(accept_language) { in BasicHttpUserAgentSettings()
Dbasic_http_user_agent_settings.h19 explicit BasicHttpUserAgentSettings(const std::string& accept_language);
/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.h78 void set_accept_language(const std::string& accept_language) { in set_accept_language() argument
79 accept_language_ = accept_language; in set_accept_language()
Dstatic_http_user_agent_settings.h21 StaticHttpUserAgentSettings(const std::string& accept_language,
Durl_request_http_job.cc604 std::string accept_language = in AddExtraHeaders() local
606 if (!accept_language.empty()) { in AddExtraHeaders()
609 accept_language); in AddExtraHeaders()
/external/chromium/chrome/browser/net/
Dchrome_url_request_context.cc297 std::string accept_language = in Observe() local
304 accept_language)); in Observe()
339 const std::string& accept_language) { in OnAcceptLanguageChange() argument
340 GetIOContext()->OnAcceptLanguageChange(accept_language); in OnAcceptLanguageChange()
428 const std::string& accept_language) { in OnAcceptLanguageChange() argument
431 net::HttpUtil::GenerateAcceptLanguageHeader(accept_language)); in OnAcceptLanguageChange()
Dchrome_url_request_context.h125 void OnAcceptLanguageChange(const std::string& accept_language);
258 void OnAcceptLanguageChange(const std::string& accept_language);
/external/chromium/net/url_request/
Durl_request_context.h165 const std::string& accept_language() const { return accept_language_; } in accept_language() function
167 void set_accept_language(const std::string& accept_language) { in set_accept_language() argument
168 accept_language_ = accept_language; in set_accept_language()
Durl_request_context.cc50 set_accept_language(other->accept_language()); in CopyFrom()
Durl_request_http_job.cc401 if (!context->accept_language().empty()) { in AddExtraHeaders()
404 context->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(',')]
/external/chromium_org/chrome/browser/automation/
Durl_request_automation_job.cc485 std::string accept_language = in StartAsync() local
487 if (!accept_language.empty()) { in StartAsync()
489 accept_language); in StartAsync()
/external/chromium/chrome/browser/profiles/
Dprofile_io_data.cc143 params->accept_language = net::HttpUtil::GenerateAcceptLanguageHeader( in InitializeProfileParams()
330 context->set_accept_language(profile_params_->accept_language); in ApplyProfileParamsToContext()
Dprofile_io_data.h99 std::string accept_language; member
/external/chromium/chrome/browser/automation/
Durl_request_automation_job.cc418 !request_->context()->accept_language().empty()) { in StartAsync()
420 request_->context()->accept_language()); in StartAsync()
/external/chromium/chrome/browser/sync/glue/
Dhttp_bridge.cc100 set_accept_language(baseline_context->accept_language()); in RequestContext()