Lines Matching refs:URLFetcher
33 class URLFetcher::Core
34 : public base::RefCountedThreadSafe<URLFetcher::Core>,
41 Core(URLFetcher* fetcher,
44 URLFetcher::Delegate* d);
65 URLFetcher::Delegate* delegate() const { return delegate_; } in delegate()
70 friend class base::RefCountedThreadSafe<URLFetcher::Core>;
117 URLFetcher* fetcher_; // Corresponding fetcher object
121 URLFetcher::Delegate* delegate_; // Object to notify on completion
172 friend class URLFetcher;
176 URLFetcher::Core::Registry::Registry() {} in Registry()
177 URLFetcher::Core::Registry::~Registry() {} in ~Registry()
179 void URLFetcher::Core::Registry::AddURLFetcherCore(Core* core) { in AddURLFetcherCore()
184 void URLFetcher::Core::Registry::RemoveURLFetcherCore(Core* core) { in RemoveURLFetcherCore()
189 void URLFetcher::Core::Registry::CancelAll() { in CancelAll()
195 base::LazyInstance<URLFetcher::Core::Registry>
196 URLFetcher::Core::g_registry(base::LINKER_INITIALIZED);
199 URLFetcher::Factory* URLFetcher::factory_ = NULL;
202 bool URLFetcher::g_interception_enabled = false;
204 URLFetcher::URLFetcher(const GURL& url, in URLFetcher() function in URLFetcher
213 URLFetcher::~URLFetcher() { in ~URLFetcher()
218 URLFetcher* URLFetcher::Create(int id, const GURL& url, in Create()
225 new URLFetcher(url, request_type, d); in Create()
229 URLFetcher::Core::Core(URLFetcher* fetcher, in Core()
232 URLFetcher::Delegate* d) in Core()
247 URLFetcher::Core::~Core() { in ~Core()
253 void URLFetcher::Core::Start() { in Start()
264 void URLFetcher::Core::Stop() { in Stop()
274 void URLFetcher::Core::ReceivedContentWasMalformed() { in ReceivedContentWasMalformed()
282 void URLFetcher::Core::CancelAll() { in CancelAll()
286 void URLFetcher::Core::OnResponseStarted(net::URLRequest* request) { in OnResponseStarted()
304 void URLFetcher::Core::CompleteAddingUploadDataChunk( in CompleteAddingUploadDataChunk()
314 void URLFetcher::Core::AppendChunkToUpload(const std::string& content, in AppendChunkToUpload()
324 void URLFetcher::Core::OnReadCompleted(net::URLRequest* request, in OnReadCompleted()
358 void URLFetcher::Core::StartURLRequest() { in StartURLRequest()
416 void URLFetcher::Core::StartURLRequestWhenAppropriate() { in StartURLRequestWhenAppropriate()
440 void URLFetcher::Core::CancelURLRequest() { in CancelURLRequest()
455 void URLFetcher::Core::OnCompletedURLRequest( in OnCompletedURLRequest()
490 void URLFetcher::Core::NotifyMalformedContent() { in NotifyMalformedContent()
496 void URLFetcher::Core::ReleaseRequest() { in ReleaseRequest()
501 base::TimeTicks URLFetcher::Core::GetBackoffReleaseTime() { in GetBackoffReleaseTime()
518 void URLFetcher::set_upload_data(const std::string& upload_content_type, in set_upload_data()
525 void URLFetcher::set_chunked_upload(const std::string& content_type) { in set_chunked_upload()
534 void URLFetcher::AppendChunkToUpload(const std::string& data, in AppendChunkToUpload()
540 const std::string& URLFetcher::upload_data() const { in upload_data()
544 void URLFetcher::set_referrer(const std::string& referrer) { in set_referrer()
548 void URLFetcher::set_load_flags(int load_flags) { in set_load_flags()
552 int URLFetcher::load_flags() const { in load_flags()
556 void URLFetcher::set_extra_request_headers( in set_extra_request_headers()
562 void URLFetcher::set_request_context( in set_request_context()
568 net::URLRequestContextGetter* URLFetcher::request_context() { in request_context()
573 void URLFetcher::set_automatically_retry_on_5xx(bool retry) { in set_automatically_retry_on_5xx()
577 net::HttpResponseHeaders* URLFetcher::response_headers() const { in response_headers()
581 void URLFetcher::Start() { in Start()
585 const GURL& URLFetcher::url() const { in url()
589 void URLFetcher::ReceivedContentWasMalformed() { in ReceivedContentWasMalformed()
594 void URLFetcher::CancelAll() { in CancelAll()
599 int URLFetcher::GetNumFetcherCores() { in GetNumFetcherCores()
603 URLFetcher::Delegate* URLFetcher::delegate() const { in delegate()