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.cc51 http_fetcher_(http_fetcher), in DownloadAction()
170 http_fetcher_->set_delegate(this); in PerformAction()
226 http_fetcher_->set_low_speed_limit(kDownloadP2PLowSpeedLimitBps, in PerformAction()
228 http_fetcher_->set_max_retry_count(kDownloadP2PMaxRetryCount); in PerformAction()
229 http_fetcher_->set_connect_timeout(kDownloadP2PConnectTimeoutSeconds); in PerformAction()
233 http_fetcher_->BeginTransfer(install_plan_.download_url); in PerformAction()
237 http_fetcher_->Pause(); in SuspendAction()
241 http_fetcher_->Unpause(); in ResumeAction()
253 http_fetcher_->TerminateTransfer(); in TerminateProcessing()
Ddownload_action.h95 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
109 HttpFetcher* http_fetcher() { return http_fetcher_.get(); } in http_fetcher()
146 std::unique_ptr<HttpFetcher> http_fetcher_; variable
Ddownload_action_unittest.cc463 http_fetcher_ = new MockHttpFetcher(data_.c_str(), in StartDownload()
471 http_fetcher_)); in StartDownload()
495 MockHttpFetcher* http_fetcher_; member in chromeos_update_engine::P2PDownloadActionTest
513 http_fetcher_->SetOffset(start_at_offset_); in StartProcessorInRunLoopForP2P()
/system/update_engine/
Domaha_request_action.h159 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
318 std::unique_ptr<HttpFetcher> http_fetcher_; variable
Domaha_request_action.cc527 http_fetcher_(std::move(http_fetcher)), in OmahaRequestAction()
648 http_fetcher_->set_delegate(this); in PerformAction()
665 http_fetcher_->SetHeader(kXGoogleUpdateInteractivity, in PerformAction()
667 http_fetcher_->SetHeader(kXGoogleUpdateAppId, params_->GetAppId()); in PerformAction()
668 http_fetcher_->SetHeader( in PerformAction()
673 http_fetcher_->SetPostData(request_post.data(), request_post.size(), in PerformAction()
677 http_fetcher_->BeginTransfer(params_->update_url()); in PerformAction()
681 http_fetcher_->TerminateTransfer(); in TerminateProcessing()