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()
167 http_fetcher_->set_delegate(this); in PerformAction()
235 http_fetcher_->ClearRanges(); in StartDownloading()
271 http_fetcher_->AddRange(base_offset_, in StartDownloading()
283 http_fetcher_->AddRange(base_offset_ + resume_offset); in StartDownloading()
285 http_fetcher_->AddRange(base_offset_ + resume_offset, in StartDownloading()
290 http_fetcher_->AddRange(base_offset_, payload_->size); in StartDownloading()
294 http_fetcher_->AddRange(base_offset_); in StartDownloading()
328 http_fetcher_->set_low_speed_limit(kDownloadP2PLowSpeedLimitBps, in StartDownloading()
330 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()
153 std::unique_ptr<MultiRangeHttpFetcher> http_fetcher_; variable
/system/update_engine/
Domaha_request_action.h116 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
296 std::unique_ptr<HttpFetcher> http_fetcher_; variable
Domaha_request_action.cc283 http_fetcher_(std::move(http_fetcher)), in OmahaRequestAction()
449 http_fetcher_->set_delegate(this); in PerformAction()
468 http_fetcher_->SetHeader(kXGoogleUpdateInteractivity, in PerformAction()
470 http_fetcher_->SetHeader(kXGoogleUpdateAppId, params_->GetAppId()); in PerformAction()
471 http_fetcher_->SetHeader( in PerformAction()
476 http_fetcher_->SetPostData( in PerformAction()
480 http_fetcher_->BeginTransfer(params_->update_url()); in PerformAction()
484 http_fetcher_->TerminateTransfer(); in TerminateProcessing()
Domaha_request_action_unittest.cc316 static_cast<OmahaRequestAction*>(action)->http_fetcher_.get()); in ActionCompleted()