/external/chromium_org/chrome/browser/translate/ |
D | translate_accept_languages.cc | 31 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/ |
D | basic_http_user_agent_settings.cc | 10 const std::string& accept_language) in BasicHttpUserAgentSettings() argument 11 : accept_language_(accept_language) { in BasicHttpUserAgentSettings()
|
D | basic_http_user_agent_settings.h | 19 explicit BasicHttpUserAgentSettings(const std::string& accept_language);
|
/external/chromium_org/net/url_request/ |
D | static_http_user_agent_settings.cc | 10 const std::string& accept_language, in StaticHttpUserAgentSettings() argument 12 : accept_language_(accept_language), in StaticHttpUserAgentSettings()
|
D | url_request_context_builder.h | 78 void set_accept_language(const std::string& accept_language) { in set_accept_language() argument 79 accept_language_ = accept_language; in set_accept_language()
|
D | static_http_user_agent_settings.h | 21 StaticHttpUserAgentSettings(const std::string& accept_language,
|
D | url_request_http_job.cc | 604 std::string accept_language = in AddExtraHeaders() local 606 if (!accept_language.empty()) { in AddExtraHeaders() 609 accept_language); in AddExtraHeaders()
|
/external/chromium/chrome/browser/net/ |
D | chrome_url_request_context.cc | 297 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()
|
D | chrome_url_request_context.h | 125 void OnAcceptLanguageChange(const std::string& accept_language); 258 void OnAcceptLanguageChange(const std::string& accept_language);
|
/external/chromium/net/url_request/ |
D | url_request_context.h | 165 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()
|
D | url_request_context.cc | 50 set_accept_language(other->accept_language()); in CopyFrom()
|
D | url_request_http_job.cc | 401 if (!context->accept_language().empty()) { in AddExtraHeaders() 404 context->accept_language()); in AddExtraHeaders()
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | samples_data_source.py | 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(',')]
|
/external/chromium_org/chrome/browser/automation/ |
D | url_request_automation_job.cc | 485 std::string accept_language = in StartAsync() local 487 if (!accept_language.empty()) { in StartAsync() 489 accept_language); in StartAsync()
|
/external/chromium/chrome/browser/profiles/ |
D | profile_io_data.cc | 143 params->accept_language = net::HttpUtil::GenerateAcceptLanguageHeader( in InitializeProfileParams() 330 context->set_accept_language(profile_params_->accept_language); in ApplyProfileParamsToContext()
|
D | profile_io_data.h | 99 std::string accept_language; member
|
/external/chromium/chrome/browser/automation/ |
D | url_request_automation_job.cc | 418 !request_->context()->accept_language().empty()) { in StartAsync() 420 request_->context()->accept_language()); in StartAsync()
|
/external/chromium/chrome/browser/sync/glue/ |
D | http_bridge.cc | 100 set_accept_language(baseline_context->accept_language()); in RequestContext()
|