Home
last modified time | relevance | path

Searched refs:header_name (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/common/
Dmock_http_fetcher.cc121 void MockHttpFetcher::SetHeader(const std::string& header_name, in SetHeader() argument
123 extra_headers_[base::ToLowerASCII(header_name)] = header_value; in SetHeader()
126 std::string MockHttpFetcher::GetHeader(const std::string& header_name) const { in GetHeader()
127 const auto it = extra_headers_.find(base::ToLowerASCII(header_name)); in GetHeader()
Dmock_http_fetcher.h91 void SetHeader(const std::string& header_name,
96 std::string GetHeader(const std::string& header_name) const;
Dmulti_range_http_fetcher.h83 void SetHeader(const std::string& header_name, in SetHeader() argument
85 base_fetcher_->SetHeader(header_name, header_value); in SetHeader()
Dfile_fetcher.h59 void SetHeader(const std::string& header_name, in SetHeader() argument
Dhttp_fetcher.h100 virtual void SetHeader(const std::string& header_name,
/system/update_engine/
Dlibcurl_http_fetcher.cc387 void LibcurlHttpFetcher::SetHeader(const string& header_name, in SetHeader() argument
389 string header_line = header_name + ": " + header_value; in SetHeader()
392 header_line = header_name + ":"; in SetHeader()
394 TEST_AND_RETURN(header_name.find(':') == string::npos); in SetHeader()
395 extra_headers_[base::ToLowerASCII(header_name)] = header_line; in SetHeader()
Dlibcurl_http_fetcher.h61 void SetHeader(const std::string& header_name,