Home
last modified time | relevance | path

Searched refs:HttpFetcher (Results 1 – 16 of 16) sorted by relevance

/system/update_engine/common/
Dhttp_fetcher.cc28 HttpFetcher::~HttpFetcher() { in ~HttpFetcher()
32 void HttpFetcher::SetPostData(const void* data, in SetPostData()
42 void HttpFetcher::SetPostData(const void* data, size_t size) { in SetPostData()
47 void HttpFetcher::ResolveProxiesForUrl(const string& url, in ResolveProxiesForUrl()
56 base::Bind(&HttpFetcher::NoProxyResolverCallback, in ResolveProxiesForUrl()
61 url, base::Bind(&HttpFetcher::ProxiesResolved, base::Unretained(this))); in ResolveProxiesForUrl()
64 void HttpFetcher::NoProxyResolverCallback() { in NoProxyResolverCallback()
69 void HttpFetcher::ProxiesResolved(const deque<string>& proxies) { in ProxiesResolved()
80 bool HttpFetcher::CancelProxyResolution() { in CancelProxyResolution()
Dhttp_fetcher_unittest.cc192 virtual HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) = 0;
193 HttpFetcher* NewLargeFetcher(size_t num_proxies) { in NewLargeFetcher()
197 HttpFetcher* NewLargeFetcher() { return NewLargeFetcher(1); } in NewLargeFetcher()
199 virtual HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) = 0;
200 HttpFetcher* NewSmallFetcher() { in NewSmallFetcher()
229 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher()
237 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher()
253 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher()
265 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher()
296 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher()
[all …]
Dmulti_range_http_fetcher.h45 class MultiRangeHttpFetcher : public HttpFetcher, public HttpFetcherDelegate {
48 explicit MultiRangeHttpFetcher(HttpFetcher* base_fetcher) in MultiRangeHttpFetcher()
49 : HttpFetcher(base_fetcher->proxy_resolver()), in MultiRangeHttpFetcher()
152 bool ReceivedBytes(HttpFetcher* fetcher,
157 void TransferEnded(HttpFetcher* fetcher, bool successful);
159 void TransferComplete(HttpFetcher* fetcher, bool successful) override;
160 void TransferTerminated(HttpFetcher* fetcher) override;
164 std::unique_ptr<HttpFetcher> base_fetcher_;
Dhttp_fetcher.h44 class HttpFetcher {
49 explicit HttpFetcher(ProxyResolver* proxy_resolver) in HttpFetcher() function
56 virtual ~HttpFetcher();
199 DISALLOW_COPY_AND_ASSIGN(HttpFetcher);
209 virtual bool ReceivedBytes(HttpFetcher* fetcher,
220 virtual void TransferComplete(HttpFetcher* fetcher, bool successful) = 0;
221 virtual void TransferTerminated(HttpFetcher* fetcher) {} in TransferTerminated()
Dmulti_range_http_fetcher.cc89 bool MultiRangeHttpFetcher::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
123 void MultiRangeHttpFetcher::TransferEnded(HttpFetcher* fetcher, in TransferEnded()
170 void MultiRangeHttpFetcher::TransferComplete(HttpFetcher* fetcher, in TransferComplete()
176 void MultiRangeHttpFetcher::TransferTerminated(HttpFetcher* fetcher) { in TransferTerminated()
Dfile_fetcher.h36 class FileFetcher : public HttpFetcher {
41 FileFetcher() : HttpFetcher(nullptr) {} in FileFetcher()
Dmock_http_fetcher.h41 class MockHttpFetcher : public HttpFetcher {
48 : HttpFetcher(proxy_resolver), in MockHttpFetcher()
/system/update_engine/payload_consumer/
Ddownload_action.h80 HttpFetcher* http_fetcher,
97 bool ReceivedBytes(HttpFetcher* fetcher,
101 void TransferComplete(HttpFetcher* fetcher, bool successful) override;
102 void TransferTerminated(HttpFetcher* fetcher) override;
109 HttpFetcher* http_fetcher() { return http_fetcher_.get(); } in http_fetcher()
Ddownload_action.cc46 HttpFetcher* http_fetcher, in DownloadAction()
362 bool DownloadAction::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
403 void DownloadAction::TransferComplete(HttpFetcher* fetcher, bool successful) { in TransferComplete()
458 void DownloadAction::TransferTerminated(HttpFetcher* fetcher) { in TransferTerminated()
Ddownload_action_unittest.cc587 [](P2PDownloadActionTest* action_test, HttpFetcher* http_fetcher) { in StartDownload()
/system/update_engine/
Domaha_request_action.h106 std::unique_ptr<HttpFetcher> http_fetcher,
123 bool ReceivedBytes(HttpFetcher* fetcher,
127 void TransferComplete(HttpFetcher* fetcher, bool successful) override;
296 std::unique_ptr<HttpFetcher> http_fetcher_;
Dupdate_attempter_android.h133 void BuildUpdateActions(HttpFetcher* fetcher);
Dlibcurl_http_fetcher.h83 class LibcurlHttpFetcher : public HttpFetcher {
Domaha_request_action.cc277 std::unique_ptr<HttpFetcher> http_fetcher, in OmahaRequestAction()
489 bool OmahaRequestAction::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
922 void OmahaRequestAction::TransferComplete(HttpFetcher* fetcher, in TransferComplete()
Dupdate_attempter_android.cc283 HttpFetcher* fetcher = nullptr; in ApplyPayload()
721 void UpdateAttempterAndroid::BuildUpdateActions(HttpFetcher* fetcher) { in BuildUpdateActions()
Dlibcurl_http_fetcher.cc98 : HttpFetcher(proxy_resolver), hardware_(hardware) { in LibcurlHttpFetcher()