Home
last modified time | relevance | path

Searched refs:http_fetcher_ (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/payload_consumer/
Ddownload_action.cc52 http_fetcher_(new MultiRangeHttpFetcher(http_fetcher)), in DownloadAction()
171 http_fetcher_->set_delegate(this); in PerformAction()
211 http_fetcher_->ClearRanges(); in StartDownloading()
219 http_fetcher_->AddRange(base_offset_, in StartDownloading()
229 http_fetcher_->AddRange(base_offset_ + resume_offset); in StartDownloading()
231 http_fetcher_->AddRange(base_offset_ + resume_offset, in StartDownloading()
236 http_fetcher_->AddRange(base_offset_, payload_->size); in StartDownloading()
240 http_fetcher_->AddRange(base_offset_); in StartDownloading()
286 http_fetcher_->set_low_speed_limit(kDownloadP2PLowSpeedLimitBps, in StartDownloading()
288 http_fetcher_->set_max_retry_count(kDownloadP2PMaxRetryCount); in StartDownloading()
[all …]
Ddownload_action.h94 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
109 HttpFetcher* http_fetcher() { return http_fetcher_.get(); } in http_fetcher()
152 std::unique_ptr<MultiRangeHttpFetcher> http_fetcher_; variable
/system/update_engine/
Domaha_request_action.h165 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
338 std::unique_ptr<HttpFetcher> http_fetcher_; variable
Domaha_request_action.cc699 http_fetcher_(std::move(http_fetcher)), in OmahaRequestAction()
825 http_fetcher_->set_delegate(this); in PerformAction()
842 http_fetcher_->SetHeader(kXGoogleUpdateInteractivity, in PerformAction()
844 http_fetcher_->SetHeader(kXGoogleUpdateAppId, params_->GetAppId()); in PerformAction()
845 http_fetcher_->SetHeader( in PerformAction()
850 http_fetcher_->SetPostData( in PerformAction()
854 http_fetcher_->BeginTransfer(params_->update_url()); in PerformAction()
858 http_fetcher_->TerminateTransfer(); in TerminateProcessing()
Domaha_request_action_unittest.cc270 static_cast<OmahaRequestAction*>(action)->http_fetcher_.get()); in ActionCompleted()