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.cc383 const string& header_value) { in SetHeader() argument
384 string header_line = header_name + ": " + header_value; in SetHeader()
386 if (header_value.empty()) in SetHeader()
404 string* header_value) const { in GetHeader()
407 header_value->clear(); in GetHeader()
416 *header_value = header_line.substr(header_line.find(':') + 1); in GetHeader()
420 header_value->erase(0, 1); in GetHeader()
Dlibcurl_http_fetcher.h105 const std::string& header_value) override;
108 std::string* header_value) const override;
Dupdate_attempter_unittest.cc497 string header_value; in SessionIdTestInDownloadAction() local
498 auto CheckSessionIdInDownloadAction = [&header_value](AbstractAction* aa) { in SessionIdTestInDownloadAction()
502 &header_value)); in SessionIdTestInDownloadAction()
509 EXPECT_EQ(attempter_.session_id_, header_value); in SessionIdTestInDownloadAction()
/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.cc100 const std::string& header_value) { in SetHeader() argument
101 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;