Searched refs:header_name (Results 1 – 7 of 7) sorted by relevance
121 void MockHttpFetcher::SetHeader(const std::string& header_name, in SetHeader() argument123 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()
91 void SetHeader(const std::string& header_name,96 std::string GetHeader(const std::string& header_name) const;
83 void SetHeader(const std::string& header_name, in SetHeader() argument85 base_fetcher_->SetHeader(header_name, header_value); in SetHeader()
59 void SetHeader(const std::string& header_name, in SetHeader() argument
100 virtual void SetHeader(const std::string& header_name,
387 void LibcurlHttpFetcher::SetHeader(const string& header_name, in SetHeader() argument389 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()
61 void SetHeader(const std::string& header_name,