Home | History | Annotate | Download | only in url_request

Lines Matching refs:URLFetcher

91   // Creates a URLFetcher, using the program's main thread to do IO.
98 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
131 // URLFetcher is designed to run on the main UI thread, but in our tests
132 // we assume that the current thread is the IO thread where the URLFetcher
152 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
158 scoped_ptr<URLFetcher> completed_fetcher_;
162 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
168 void URLFetcherTest::OnURLFetchComplete(const URLFetcher* source) {
215 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
220 void URLFetcherMockDnsTest::OnURLFetchComplete(const URLFetcher* source) {
237 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
255 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
270 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
285 virtual void OnURLFetchDownloadProgress(const URLFetcher* source,
304 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
305 virtual void OnURLFetchDownloadProgress(const URLFetcher* source,
319 virtual void OnURLFetchUploadProgress(const URLFetcher* source,
332 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
339 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
355 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
371 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
384 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
395 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
408 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
490 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
504 virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
511 // the URLFetcher should own the temp file, so that we can test
520 URLFetcher::POST, this);
527 void URLFetcherPostTest::OnURLFetchComplete(const URLFetcher* source) {
545 fetcher_ = new URLFetcherImpl(url, URLFetcher::POST, this);
556 void URLFetcherPostFileTest::OnURLFetchComplete(const URLFetcher* source) {
570 fetcher_ = new URLFetcherImpl(url, URLFetcher::POST, this);
577 void URLFetcherEmptyPostTest::OnURLFetchComplete(const URLFetcher* source) {
591 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
598 const URLFetcher* source, int64 progress, int64 total) {
608 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
616 const URLFetcher* source, int64 current, int64 total) {
625 const URLFetcher* source) {
632 fetcher_ = new URLFetcherImpl(url, URLFetcher::POST, this);
646 const URLFetcher* source, int64 current, int64 total) {
662 const URLFetcher* source) {
671 const URLFetcher* source) {
689 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
697 const URLFetcher* source) {
707 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
715 void URLFetcherProtectTest::OnURLFetchComplete(const URLFetcher* source) {
744 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
754 const URLFetcher* source) {
789 const URLFetcher* source) {
803 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
816 const URLFetcher* source) {
824 // The URLFetcher's test context will post a Quit task once it is
830 const URLFetcher* source) {
849 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
859 fetcher_ = new URLFetcherImpl(url, URLFetcher::GET, this);
868 void URLFetcherFileTest::OnURLFetchComplete(const URLFetcher* source) {
895 // thread, this will test URLFetcher's ability to do everything on one
908 // Create a separate thread that will create the URLFetcher. The current
913 base::Thread t("URLFetcher test thread");
1113 // URLFetcher::Core's IOBuffer.
1134 // URLFetcher::Core's IOBuffer.
1287 // Create a separate thread that will create the URLFetcher. The current
1292 base::Thread t("URLFetcher test thread");
1331 base::Thread t("URLFetcher test thread");
1347 // thread, this will test URLFetcher's ability to do everything on one
1386 // URLFetcher::Core's IOBuffer.
1398 // persist even after URLFetcher is gone. If not, the file must be deleted.
1504 // URLFetcher::Core's IOBuffer.
1515 // even after URLFetcher is gone. If not, the file must be deleted.