Home
last modified time | relevance | path

Searched refs:header_value (Results 1 – 9 of 9) sorted by relevance

/system/update_engine/
Dlibcurl_http_fetcher_unittest.cc52 const string header_value = ""; in TEST_F() local
54 libcurl_fetcher_.SetHeader(kHeaderName, header_value); in TEST_F()
60 const string header_value = "This-is-value 123"; in TEST_F() local
62 libcurl_fetcher_.SetHeader(kHeaderName, header_value); in TEST_F()
64 EXPECT_EQ(header_value, actual_header_value); in TEST_F()
77 const string header_value = "\a\b\t\v\f\r\\ edge:-case: \a\b\t\v\f\r\\"; in TEST_F() local
79 libcurl_fetcher_.SetHeader(kHeaderName, header_value); in TEST_F()
81 EXPECT_EQ(header_value, actual_header_value); in TEST_F()
Dlibcurl_http_fetcher.cc382 const string& header_value) { in SetHeader() argument
383 string header_line = header_name + ": " + header_value; in SetHeader()
385 if (header_value.empty()) in SetHeader()
403 string* header_value) const { in GetHeader()
406 header_value->clear(); in GetHeader()
415 *header_value = header_line.substr(header_line.find(':') + 1); in GetHeader()
419 header_value->erase(0, 1); in GetHeader()
Dlibcurl_http_fetcher.h105 const std::string& header_value) override;
108 std::string* header_value) const override;
/system/update_engine/common/
Dfile_fetcher.h60 const std::string& header_value) override {} in SetHeader() argument
63 std::string* header_value) const override { in GetHeader() argument
64 header_value->clear(); in GetHeader()
Dmulti_range_http_fetcher.h82 const std::string& header_value) override { in SetHeader() argument
83 base_fetcher_->SetHeader(header_name, header_value); in SetHeader()
87 std::string* header_value) const override { in GetHeader() argument
88 return base_fetcher_->GetHeader(header_name, header_value); in GetHeader()
Dmock_http_fetcher.h90 const std::string& header_value) override;
93 std::string* header_value) const override { in GetHeader() argument
94 header_value->clear(); in GetHeader()
Dmock_http_fetcher.cc109 const std::string& header_value) { in SetHeader() argument
110 extra_headers_[base::ToLowerASCII(header_name)] = header_value; in SetHeader()
Dhttp_fetcher.h107 const std::string& header_value) = 0;
115 std::string* header_value) const = 0;
/system/update_engine/cros/
Dupdate_attempter_unittest.cc474 string header_value; in SessionIdTestInDownloadAction() local
475 auto CheckSessionIdInDownloadAction = [&header_value](AbstractAction* aa) { in SessionIdTestInDownloadAction()
479 &header_value)); in SessionIdTestInDownloadAction()
486 EXPECT_EQ(attempter_.session_id_, header_value); in SessionIdTestInDownloadAction()