Home
last modified time | relevance | path

Searched refs:base_fetcher_ (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/common/
Dmulti_range_http_fetcher.h50 base_fetcher_(base_fetcher), in MultiRangeHttpFetcher()
83 base_fetcher_->SetHeader(header_name, header_value); in SetHeader()
86 void Pause() override { base_fetcher_->Pause(); } in Pause()
88 void Unpause() override { base_fetcher_->Unpause(); } in Unpause()
92 base_fetcher_->set_idle_seconds(seconds); in set_idle_seconds()
95 base_fetcher_->set_retry_seconds(seconds); in set_retry_seconds()
100 base_fetcher_->SetProxies(proxies); in SetProxies()
104 return base_fetcher_->GetBytesDownloaded(); in GetBytesDownloaded()
108 base_fetcher_->set_low_speed_limit(low_speed_bps, low_speed_sec); in set_low_speed_limit()
112 base_fetcher_->set_connect_timeout(connect_timeout_seconds); in set_connect_timeout()
[all …]
Dmulti_range_http_fetcher.cc46 base_fetcher_->set_delegate(this); in BeginTransfer()
63 base_fetcher_->TerminateTransfer(); in TerminateTransfer()
77 base_fetcher_->SetOffset(range.offset()); in StartTransfer()
79 base_fetcher_->SetLength(range.length()); in StartTransfer()
81 base_fetcher_->UnsetLength(); in StartTransfer()
85 base_fetcher_->BeginTransfer(url_); in StartTransfer()
93 CHECK_EQ(fetcher, base_fetcher_.get()); in ReceivedBytes()
126 CHECK_EQ(fetcher, base_fetcher_.get()); in TransferEnded()
202 base_fetcher_->SetOffset(range.offset() + offset); in SetOffset()
204 base_fetcher_->SetLength(range.length()); in SetOffset()
[all …]