Lines Matching refs:HttpFetcher
192 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()
310 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher()
321 HttpFetcher* NewLargeFetcher(ProxyResolver* /* proxy_resolver */) override { in NewLargeFetcher()
327 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher()
370 HttpFetcher* NewLargeFetcher(ProxyResolver* /* proxy_resolver */) override { in NewLargeFetcher()
384 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher()
436 bool ReceivedBytes(HttpFetcher* /* fetcher */, in ReceivedBytes() argument
445 void TransferComplete(HttpFetcher* fetcher, bool successful) override { in TransferComplete()
456 void TransferTerminated(HttpFetcher* fetcher) override { in TransferTerminated()
473 void StartTransfer(HttpFetcher* http_fetcher, const string& url) { in StartTransfer()
480 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
496 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher()); in TYPED_TEST()
520 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
547 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
584 bool ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
592 void TransferComplete(HttpFetcher* fetcher, bool successful) override { in TransferComplete()
595 void TransferTerminated(HttpFetcher* fetcher) override { ADD_FAILURE(); } in TransferTerminated()
602 HttpFetcher* fetcher_;
619 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher()); in TYPED_TEST()
644 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher(&mock_resolver)); in TYPED_TEST()
665 bool ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
670 void TransferComplete(HttpFetcher* fetcher, bool successful) override { in TransferComplete()
674 void TransferTerminated(HttpFetcher* fetcher) override { in TransferTerminated()
691 unique_ptr<HttpFetcher> fetcher_;
734 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher(&mock_resolver)); in TYPED_TEST()
759 bool ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
765 void TransferComplete(HttpFetcher* fetcher, bool successful) override { in TransferComplete()
770 void TransferTerminated(HttpFetcher* fetcher) override { ADD_FAILURE(); } in TransferTerminated()
780 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
824 bool ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
834 void TransferComplete(HttpFetcher* fetcher, bool successful) override { in TransferComplete()
840 void TransferTerminated(HttpFetcher* fetcher) override { in TransferTerminated()
856 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
882 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
921 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
953 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
969 base::Bind(&HttpFetcher::TerminateTransfer, in TYPED_TEST()
999 bool ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
1005 void TransferComplete(HttpFetcher* fetcher, bool successful) override { in TransferComplete()
1015 void TransferTerminated(HttpFetcher* fetcher) override { ADD_FAILURE(); } in TransferTerminated()
1024 HttpFetcher* http_fetcher) { in RedirectTest()
1026 unique_ptr<HttpFetcher> fetcher(http_fetcher); in RedirectTest()
1098 bool ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
1106 void TransferComplete(HttpFetcher* fetcher, bool successful) override { in TransferComplete()
1116 void TransferTerminated(HttpFetcher* fetcher) override { ADD_FAILURE(); } in TransferTerminated()
1118 unique_ptr<HttpFetcher> fetcher_;
1123 void MultiTest(HttpFetcher* fetcher_in, in MultiTest()
1319 bool ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
1329 base::Bind(&HttpFetcher::TerminateTransfer, in ReceivedBytes()
1337 void TransferComplete(HttpFetcher* fetcher, bool successful) override { in TransferComplete()
1344 void TransferTerminated(HttpFetcher* fetcher) override { in TransferTerminated()
1350 unique_ptr<HttpFetcher> fetcher_;
1388 bool ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
1394 void TransferComplete(HttpFetcher* fetcher, bool successful) override { in TransferComplete()
1398 void TransferTerminated(HttpFetcher* fetcher) override { ADD_FAILURE(); } in TransferTerminated()
1410 unique_ptr<HttpFetcher> fetcher(fetcher_test->NewLargeFetcher()); in BlockedTransferTestHelper()