Home
last modified time | relevance | path

Searched refs:fetcher_ (Results 1 – 22 of 22) sorted by relevance

/external/chromium/chrome/common/net/
Durl_fetcher_unittest.cc75 URLFetcherTest() : fetcher_(NULL) { } in URLFetcherTest()
120 URLFetcher* fetcher_; member in URLFetcherTest
124 fetcher_ = new URLFetcher(url, URLFetcher::GET, this); in CreateFetcher()
125 fetcher_->set_request_context(new TestURLRequestContextGetter( in CreateFetcher()
127 fetcher_->Start(); in CreateFetcher()
140 delete fetcher_; // Have to delete this here and not in the destructor, in OnURLFetchComplete()
312 fetcher_ = new URLFetcher(url, URLFetcher::POST, this); in CreateFetcher()
313 fetcher_->set_request_context(new TestURLRequestContextGetter( in CreateFetcher()
315 fetcher_->set_upload_data("application/x-www-form-urlencoded", in CreateFetcher()
317 fetcher_->Start(); in CreateFetcher()
[all …]
Durl_fetcher.cc117 URLFetcher* fetcher_; // Corresponding fetcher object member in URLFetcher::Core
233 : fetcher_(fetcher), in Core()
267 fetcher_ = NULL; in Stop()
467 fetcher_->backoff_delay_ = backoff_release_time_ - base::TimeTicks::Now(); in OnCompletedURLRequest()
468 if (fetcher_->backoff_delay_ < base::TimeDelta()) in OnCompletedURLRequest()
469 fetcher_->backoff_delay_ = base::TimeDelta(); in OnCompletedURLRequest()
471 if (fetcher_->automatically_retry_on_5xx_ && in OnCompletedURLRequest()
472 num_retries_ <= fetcher_->max_retries()) { in OnCompletedURLRequest()
477 delegate_->OnURLFetchComplete(fetcher_, url_, status, response_code_, in OnCompletedURLRequest()
483 fetcher_->backoff_delay_ = base::TimeDelta(); in OnCompletedURLRequest()
[all …]
/external/chromium/chrome/browser/remoting/
Ddirectory_add_request.cc27 DCHECK(!fetcher_.get()) << "URLFetcher not destroyed."; in ~DirectoryAddRequest()
51 fetcher_.reset( in AddHost()
53 fetcher_->set_request_context(getter_); in AddHost()
54 fetcher_->set_upload_data("application/json", request_content); in AddHost()
55 fetcher_->set_extra_request_headers(headers.ToString()); in AddHost()
58 fetcher_->Start(); in AddHost()
68 DCHECK_EQ(source, fetcher_.get()); in OnURLFetchComplete()
71 fetcher_.reset(); in OnURLFetchComplete()
Ddirectory_add_request.h68 scoped_ptr<URLFetcher> fetcher_; variable
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_fetcher.cc63 TemplateURLFetcher* fetcher_; member in TemplateURLFetcher::RequestDelegate
86 fetcher_(fetcher), in RequestDelegate()
92 TemplateURLModel* model = fetcher_->profile()->GetTemplateURLModel(); in RequestDelegate()
142 fetcher_->RequestCompleted(this); in OnURLFetchComplete()
148 TemplateURLModel* model = fetcher_->profile()->GetTemplateURLModel(); in OnURLFetchComplete()
168 TemplateURLModel* model = fetcher_->profile()->GetTemplateURLModel(); in AddSearchProvider()
175 fetcher_->RequestCompleted(this); in AddSearchProvider()
206 fetcher_->RequestCompleted(this); in AddSearchProvider()
248 fetcher_->profile()); in AddSearchProvider()
257 fetcher_->RequestCompleted(this); in AddSearchProvider()
/external/chromium/webkit/glue/
Dimage_resource_fetcher.cc30 fetcher_.reset(new ResourceFetcher( in ImageResourceFetcher()
36 if (!fetcher_->completed()) in ~ImageResourceFetcher()
37 fetcher_->Cancel(); in ~ImageResourceFetcher()
Dalt_error_page_resource_fetcher.cc29 fetcher_.reset(new ResourceFetcherWithTimeout( in AltErrorPageResourceFetcher()
38 fetcher_->Cancel(); in Cancel()
Dresource_fetcher_unittest.cc177 fetcher_.reset(fetcher); in SetFetcher()
184 fetcher_.reset(); in OnURLFetchComplete()
189 scoped_ptr<ResourceFetcher> fetcher_; member in __anone22396760111::EvilFetcherDelegate
Dimage_resource_fetcher.h57 scoped_ptr<ResourceFetcher> fetcher_; variable
Dalt_error_page_resource_fetcher.h45 scoped_ptr<ResourceFetcherWithTimeout> fetcher_; variable
/external/chromium/chrome/browser/google/
Dgoogle_url_tracker.cc188 fetcher_.reset(URLFetcher::Create(fetcher_id_, GURL(kSearchDomainCheckURL), in StartFetchIfDesirable()
194 fetcher_->set_load_flags(net::LOAD_DISABLE_CACHE | in StartFetchIfDesirable()
196 fetcher_->set_request_context(g_browser_process->system_request_context()); in StartFetchIfDesirable()
200 fetcher_->set_max_retries(kMaxRetries); in StartFetchIfDesirable()
202 fetcher_->Start(); in StartFetchIfDesirable()
212 scoped_ptr<URLFetcher> clean_up_fetcher(fetcher_.release()); in OnURLFetchComplete()
322 if (registrar_.IsEmpty() && (need_to_prompt_ || fetcher_.get())) { in SearchCommitted()
Dgoogle_url_tracker.h139 scoped_ptr<URLFetcher> fetcher_; variable
/external/chromium/chrome/browser/
Dalternate_nav_url_fetcher.cc61 fetcher_.reset(new URLFetcher(GURL(alternate_nav_url_), in Observe()
63 fetcher_->set_request_context( in Observe()
65 fetcher_->Start(); in Observe()
96 DCHECK_EQ(fetcher_.get(), source); in OnURLFetchComplete()
Dspellcheck_host_impl.cc128 fetcher_.reset(); in UnsetObserver()
234 fetcher_.reset(new URLFetcher(url, URLFetcher::GET, this)); in DownloadDictionary()
235 fetcher_->set_request_context(request_context_getter_); in DownloadDictionary()
237 fetcher_->Start(); in DownloadDictionary()
260 fetcher_.reset(); in OnURLFetchComplete()
Dalternate_nav_url_fetcher.h79 scoped_ptr<URLFetcher> fetcher_; variable
Dspellcheck_host_impl.h138 scoped_ptr<URLFetcher> fetcher_; variable
/external/chromium/chrome/common/net/gaia/
Dgaia_auth_fetcher.cc114 fetcher_.reset(); in CancelRequest()
274 fetcher_.reset(CreateGaiaFetcher(getter_, in StartClientLogin()
279 fetcher_->Start(); in StartClientLogin()
291 fetcher_.reset(CreateGaiaFetcher(getter_, in StartIssueAuthToken()
296 fetcher_->Start(); in StartIssueAuthToken()
305 fetcher_.reset(CreateGaiaFetcher(getter_, in StartGetUserInfo()
311 fetcher_->Start(); in StartGetUserInfo()
Dgaia_auth_fetcher.h186 scoped_ptr<URLFetcher> fetcher_; variable
/external/chromium/chrome/browser/chromeos/login/
Dcookie_fetcher.cc32 fetcher_.reset(client_login_handler_->Handle(credentials, this)); in AttemptFetch()
44 fetcher_.reset(issue_handler_->Handle(data, this)); in OnURLFetchComplete()
Dcookie_fetcher.h58 scoped_ptr<URLFetcher> fetcher_; variable
/external/chromium/net/base/
Dsdch_manager.h246 void set_sdch_fetcher(SdchFetcher* fetcher) { fetcher_.reset(fetcher); } in set_sdch_fetcher()
351 scoped_ptr<SdchFetcher> fetcher_; variable
Dsdch_manager.cc224 global_->fetcher_.reset(NULL); in Shutdown()
328 fetcher_.get()) in FetchDictionary()
329 fetcher_->Schedule(dictionary_url); in FetchDictionary()