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.cc99 void MockHttpFetcher::SetHeader(const std::string& header_name, in SetHeader() argument
101 extra_headers_[base::ToLowerASCII(header_name)] = header_value; in SetHeader()
104 std::string MockHttpFetcher::GetHeader(const std::string& header_name) const { in GetHeader()
105 const auto it = extra_headers_.find(base::ToLowerASCII(header_name)); in GetHeader()
Dmulti_range_http_fetcher.h81 void SetHeader(const std::string& header_name, in SetHeader() argument
83 base_fetcher_->SetHeader(header_name, header_value); in SetHeader()
86 bool GetHeader(const std::string& header_name, in GetHeader() argument
88 return base_fetcher_->GetHeader(header_name, header_value); in GetHeader()
Dmock_http_fetcher.h89 void SetHeader(const std::string& header_name,
92 bool GetHeader(const std::string& header_name, in GetHeader() argument
100 std::string GetHeader(const std::string& header_name) const;
Dfile_fetcher.h59 void SetHeader(const std::string& header_name, in SetHeader() argument
62 bool GetHeader(const std::string& header_name, in GetHeader() argument
Dhttp_fetcher.h106 virtual void SetHeader(const std::string& header_name,
114 virtual bool GetHeader(const std::string& header_name,
/system/update_engine/
Dlibcurl_http_fetcher.cc382 void LibcurlHttpFetcher::SetHeader(const string& header_name, in SetHeader() argument
384 string header_line = header_name + ": " + header_value; in SetHeader()
387 header_line = header_name + ":"; in SetHeader()
389 TEST_AND_RETURN(header_name.find(':') == string::npos); in SetHeader()
390 extra_headers_[base::ToLowerASCII(header_name)] = header_line; in SetHeader()
403 bool LibcurlHttpFetcher::GetHeader(const string& header_name, in GetHeader() argument
408 auto header_key = base::ToLowerASCII(header_name); in GetHeader()
Dlibcurl_http_fetcher.h104 void SetHeader(const std::string& header_name,
107 bool GetHeader(const std::string& header_name,