Home
last modified time | relevance | path

Searched refs:SetHeader (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/
Dlibcurl_http_fetcher_unittest.cc55 libcurl_fetcher_.SetHeader(kHeaderName, header_value); in TEST_F()
63 libcurl_fetcher_.SetHeader(kHeaderName, header_value); in TEST_F()
80 libcurl_fetcher_.SetHeader(kHeaderName, header_value); in TEST_F()
Dlibcurl_http_fetcher.h103 void SetHeader(const std::string& header_name,
Dlibcurl_http_fetcher.cc374 void LibcurlHttpFetcher::SetHeader(const string& header_name, in SetHeader() function in chromeos_update_engine::LibcurlHttpFetcher
/system/update_engine/common/
Dmulti_range_http_fetcher.h81 void SetHeader(const std::string& header_name, in SetHeader() function
83 base_fetcher_->SetHeader(header_name, header_value); in SetHeader()
Dfile_fetcher.h58 void SetHeader(const std::string& header_name, in SetHeader() function
Dmock_http_fetcher.h86 void SetHeader(const std::string& header_name,
Dhttp_fetcher.h102 virtual void SetHeader(const std::string& header_name,
Dmock_http_fetcher.cc108 void MockHttpFetcher::SetHeader(const std::string& header_name, in SetHeader() function in chromeos_update_engine::MockHttpFetcher
Dhttp_fetcher_unittest.cc548 fetcher->SetHeader("User-Agent", "MyTest"); in TYPED_TEST()
549 fetcher->SetHeader("user-agent", "Override that header"); in TYPED_TEST()
550 fetcher->SetHeader("Authorization", "Basic user:passwd"); in TYPED_TEST()
553 fetcher->SetHeader("X-Foo", "Invalid\nHeader\nIgnored"); in TYPED_TEST()
554 fetcher->SetHeader("X-Bar: ", "I do not know how to parse"); in TYPED_TEST()
557 fetcher->SetHeader("Accept", ""); in TYPED_TEST()
/system/update_engine/aosp/
Dupdate_attempter_android.cc347 fetcher->SetHeader("Authorization", headers[kPayloadPropertyAuthorization]); in ApplyPayload()
349 fetcher->SetHeader("User-Agent", headers[kPayloadPropertyUserAgent]); in ApplyPayload()