Home
last modified time | relevance | path

Searched refs:URLRequestJob (Results 1 – 25 of 76) sorted by relevance

1234

/external/chromium/net/url_request/
Durl_request_job.cc24 URLRequestJob::URLRequestJob(URLRequest* request) in URLRequestJob() function in net::URLRequestJob
39 void URLRequestJob::SetUpload(UploadData* upload) { in SetUpload()
42 void URLRequestJob::SetExtraRequestHeaders( in SetExtraRequestHeaders()
46 void URLRequestJob::Kill() { in Kill()
53 void URLRequestJob::DetachRequest() { in DetachRequest()
60 bool URLRequestJob::Read(IOBuffer* buf, int buf_size, int *bytes_read) { in Read()
91 void URLRequestJob::StopCaching() { in StopCaching()
95 LoadState URLRequestJob::GetLoadState() const { in GetLoadState()
99 uint64 URLRequestJob::GetUploadProgress() const { in GetUploadProgress()
103 bool URLRequestJob::GetCharset(std::string* charset) { in GetCharset()
[all …]
Durl_request_job_tracker.h17 class URLRequestJob; variable
29 typedef std::vector<URLRequestJob*> JobList;
38 virtual void OnJobAdded(URLRequestJob* job) = 0;
41 virtual void OnJobRemoved(URLRequestJob* job) = 0;
44 virtual void OnJobDone(URLRequestJob* job,
49 virtual void OnJobRedirect(URLRequestJob* job, const GURL& location,
57 virtual void OnBytesRead(URLRequestJob* job, const char* buf,
76 void AddNewJob(URLRequestJob* job);
77 void RemoveJob(URLRequestJob* job);
80 void OnJobDone(URLRequestJob* job, const URLRequestStatus& status);
[all …]
Durl_request_job_tracker.cc26 void URLRequestJobTracker::AddNewJob(URLRequestJob* job) { in AddNewJob()
31 void URLRequestJobTracker::RemoveJob(URLRequestJob* job) { in RemoveJob()
43 void URLRequestJobTracker::OnJobDone(URLRequestJob* job, in OnJobDone()
48 void URLRequestJobTracker::OnJobRedirect(URLRequestJob* job, in OnJobRedirect()
55 void URLRequestJobTracker::OnBytesRead(URLRequestJob* job, in OnBytesRead()
Durl_request_job.h33 class URLRequestJob : public base::RefCounted<URLRequestJob> {
35 explicit URLRequestJob(URLRequest* request);
183 friend class base::RefCounted<URLRequestJob>;
184 virtual ~URLRequestJob();
337 ScopedRunnableMethodFactory<URLRequestJob> method_factory_;
339 DISALLOW_COPY_AND_ASSIGN(URLRequestJob);
Durl_request_job_tracker_unittest.cc55 MOCK_METHOD1(OnJobAdded, void(URLRequestJob* job));
56 MOCK_METHOD1(OnJobRemoved, void(URLRequestJob* job));
57 MOCK_METHOD2(OnJobDone, void(URLRequestJob* job,
59 MOCK_METHOD3(OnJobRedirect, void(URLRequestJob* job,
62 MOCK_METHOD3(OnBytesRead, void(URLRequestJob* job,
72 class URLRequestJobTrackerTestJob : public URLRequestJob {
75 : URLRequestJob(request), async_reads_(async_reads) {} in URLRequestJobTrackerTestJob()
199 URLRequestJob* URLRequestJobTrackerTest::Factory( in Factory()
Durl_request_job_manager.cc49 URLRequestJob* URLRequestJobManager::CreateJob( in CreateJob()
72 URLRequestJob* job = (*i)->MaybeIntercept(request); in CreateJob()
83 URLRequestJob* job = i->second(request, scheme); in CreateJob()
91 URLRequestJob* job = (kBuiltinFactories[i].factory)(request, scheme); in CreateJob()
104 URLRequestJob* URLRequestJobManager::MaybeInterceptRedirect( in MaybeInterceptRedirect()
118 URLRequestJob* job = (*i)->MaybeInterceptRedirect(request, location); in MaybeInterceptRedirect()
125 URLRequestJob* URLRequestJobManager::MaybeInterceptResponse( in MaybeInterceptResponse()
138 URLRequestJob* job = (*i)->MaybeInterceptResponse(request); in MaybeInterceptResponse()
Durl_request.h48 class URLRequestJob; variable
68 typedef URLRequestJob* (ProtocolFactory)(URLRequest* request,
96 virtual URLRequestJob* MaybeIntercept(URLRequest* request) = 0;
104 virtual URLRequestJob* MaybeInterceptRedirect(URLRequest* request,
115 virtual URLRequestJob* MaybeInterceptResponse(URLRequest* request);
567 URLRequestJob* job() { return job_; } in job()
593 friend class URLRequestJob;
605 void StartJob(URLRequestJob* job);
609 void RestartWithJob(URLRequestJob* job);
629 scoped_refptr<URLRequestJob> job_;
Durl_request_job_manager.h40 URLRequestJob* CreateJob(URLRequest* request) const;
44 URLRequestJob* MaybeInterceptRedirect(URLRequest* request,
51 URLRequestJob* MaybeInterceptResponse(URLRequest* request) const;
Durl_request_test_job.cc75 URLRequestJob* URLRequestTestJob::Factory(URLRequest* request, in Factory()
81 : URLRequestJob(request), in URLRequestTestJob()
91 : URLRequestJob(request), in URLRequestTestJob()
103 : URLRequestJob(request), in URLRequestTestJob()
212 URLRequestJob::Kill(); in Kill()
Durl_request_about_job.cc17 : URLRequestJob(request), in URLRequestAboutJob()
22 URLRequestJob* URLRequestAboutJob::Factory(URLRequest* request, in Factory()
Durl_request_filter.h32 class URLRequestJob; variable
73 URLRequestJob* FindRequestHandler(URLRequest* request,
/external/chromium/chrome/browser/net/
Dconnect_interceptor.h26 virtual net::URLRequestJob* MaybeIntercept(net::URLRequest* request);
27 virtual net::URLRequestJob* MaybeInterceptResponse(net::URLRequest* request);
28 virtual net::URLRequestJob* MaybeInterceptRedirect(net::URLRequest* request,
Dmetadata_url_request.cc22 class MetadataRequestHandler : public net::URLRequestJob {
26 static net::URLRequestJob* Factory(net::URLRequest* request,
47 : net::URLRequestJob(request), in MetadataRequestHandler()
56 net::URLRequestJob* MetadataRequestHandler::Factory(net::URLRequest* request, in Factory()
Dconnect_interceptor.cc20 net::URLRequestJob* ConnectInterceptor::MaybeIntercept( in MaybeIntercept()
71 net::URLRequestJob* ConnectInterceptor::MaybeInterceptResponse( in MaybeInterceptResponse()
76 net::URLRequestJob* ConnectInterceptor::MaybeInterceptRedirect( in MaybeInterceptRedirect()
Dview_blob_internals_job_factory.h11 class URLRequestJob; variable
19 static net::URLRequestJob* CreateJobForRequest(net::URLRequest* request);
Dview_http_cache_job_factory.h11 class URLRequestJob; variable
19 static net::URLRequestJob* CreateJobForRequest(net::URLRequest* request);
Dview_http_cache_job_factory.cc21 class ViewHttpCacheJob : public net::URLRequestJob {
24 : net::URLRequestJob(request), in ViewHttpCacheJob()
103 net::URLRequestJob::Kill(); in Kill()
191 net::URLRequestJob* ViewHttpCacheJobFactory::CreateJobForRequest( in CreateJobForRequest()
Durl_request_failed_dns_job.h13 class URLRequestFailedDnsJob : public net::URLRequestJob {
19 static net::URLRequestJob* Factory(net::URLRequest* request,
Durl_request_failed_dns_job.cc18 : net::URLRequestJob(request), in URLRequestFailedDnsJob()
38 net::URLRequestJob* URLRequestFailedDnsJob::Factory(net::URLRequest* request, in Factory()
Durl_request_slow_download_job.h18 class URLRequestSlowDownloadJob : public net::URLRequestJob {
32 static net::URLRequestJob* Factory(net::URLRequest* request,
/external/chromium/net/base/
Dnetwork_delegate.h28 class URLRequestJob; variable
54 URLRequestJob* MaybeCreateURLRequestJob(URLRequest* request);
91 virtual URLRequestJob* OnMaybeCreateURLRequestJob(URLRequest* request) = 0;
/external/chromium/chrome/browser/chromeos/
Dgview_request_interceptor.h27 virtual net::URLRequestJob* MaybeIntercept(net::URLRequest* request);
32 virtual net::URLRequestJob* MaybeInterceptResponse(net::URLRequest* request);
/external/chromium/chrome/browser/task_manager/
Dtask_manager.h296 virtual void OnJobAdded(net::URLRequestJob* job);
297 virtual void OnJobRemoved(net::URLRequestJob* job);
298 virtual void OnJobDone(net::URLRequestJob* job,
300 virtual void OnJobRedirect(net::URLRequestJob* job,
303 virtual void OnBytesRead(net::URLRequestJob* job,
/external/chromium/chrome/browser/custom_handlers/
Dprotocol_handler_registry.h57 static net::URLRequestJob* Factory(net::URLRequest* request,
65 net::URLRequestJob* MaybeCreateJob(net::URLRequest* request) const;
/external/chromium/chrome/browser/ui/webui/
Dchrome_url_data_manager_backend.h24 class URLRequestJob; variable
47 static net::URLRequestJob* Factory(net::URLRequest* request,

1234