/external/chromium/chrome/common/net/ |
D | url_fetcher_unittest.cc | 75 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 …]
|
D | url_fetcher.cc | 117 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/ |
D | directory_add_request.cc | 27 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()
|
D | directory_add_request.h | 68 scoped_ptr<URLFetcher> fetcher_; variable
|
/external/chromium/chrome/browser/search_engines/ |
D | template_url_fetcher.cc | 63 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/ |
D | image_resource_fetcher.cc | 30 fetcher_.reset(new ResourceFetcher( in ImageResourceFetcher() 36 if (!fetcher_->completed()) in ~ImageResourceFetcher() 37 fetcher_->Cancel(); in ~ImageResourceFetcher()
|
D | alt_error_page_resource_fetcher.cc | 29 fetcher_.reset(new ResourceFetcherWithTimeout( in AltErrorPageResourceFetcher() 38 fetcher_->Cancel(); in Cancel()
|
D | resource_fetcher_unittest.cc | 177 fetcher_.reset(fetcher); in SetFetcher() 184 fetcher_.reset(); in OnURLFetchComplete() 189 scoped_ptr<ResourceFetcher> fetcher_; member in __anone22396760111::EvilFetcherDelegate
|
D | image_resource_fetcher.h | 57 scoped_ptr<ResourceFetcher> fetcher_; variable
|
D | alt_error_page_resource_fetcher.h | 45 scoped_ptr<ResourceFetcherWithTimeout> fetcher_; variable
|
/external/chromium/chrome/browser/google/ |
D | google_url_tracker.cc | 188 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()
|
D | google_url_tracker.h | 139 scoped_ptr<URLFetcher> fetcher_; variable
|
/external/chromium/chrome/browser/ |
D | alternate_nav_url_fetcher.cc | 61 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()
|
D | spellcheck_host_impl.cc | 128 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()
|
D | alternate_nav_url_fetcher.h | 79 scoped_ptr<URLFetcher> fetcher_; variable
|
D | spellcheck_host_impl.h | 138 scoped_ptr<URLFetcher> fetcher_; variable
|
/external/chromium/chrome/common/net/gaia/ |
D | gaia_auth_fetcher.cc | 114 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()
|
D | gaia_auth_fetcher.h | 186 scoped_ptr<URLFetcher> fetcher_; variable
|
/external/chromium/chrome/browser/chromeos/login/ |
D | cookie_fetcher.cc | 32 fetcher_.reset(client_login_handler_->Handle(credentials, this)); in AttemptFetch() 44 fetcher_.reset(issue_handler_->Handle(data, this)); in OnURLFetchComplete()
|
D | cookie_fetcher.h | 58 scoped_ptr<URLFetcher> fetcher_; variable
|
/external/chromium/net/base/ |
D | sdch_manager.h | 246 void set_sdch_fetcher(SdchFetcher* fetcher) { fetcher_.reset(fetcher); } in set_sdch_fetcher() 351 scoped_ptr<SdchFetcher> fetcher_; variable
|
D | sdch_manager.cc | 224 global_->fetcher_.reset(NULL); in Shutdown() 328 fetcher_.get()) in FetchDictionary() 329 fetcher_->Schedule(dictionary_url); in FetchDictionary()
|