/external/chromium/net/url_request/ |
D | url_request.cc | 37 URLRequest::URLRequest(const GURL& url, Delegate* delegate) in URLRequest() function in URLRequest 58 URLRequest::~URLRequest() { in ~URLRequest() 68 URLRequest::ProtocolFactory* URLRequest::RegisterProtocolFactory( in RegisterProtocolFactory() 74 void URLRequest::RegisterRequestInterceptor(Interceptor* interceptor) { in RegisterRequestInterceptor() 79 void URLRequest::UnregisterRequestInterceptor(Interceptor* interceptor) { in UnregisterRequestInterceptor() 83 void URLRequest::AppendBytesToUpload(const char* bytes, int bytes_len) { in AppendBytesToUpload() 90 void URLRequest::AppendFileRangeToUpload(const FilePath& file_path, in AppendFileRangeToUpload() 98 void URLRequest::set_upload(net::UploadData* upload) { in set_upload() 103 net::UploadData* URLRequest::get_upload() { in get_upload() 107 bool URLRequest::has_upload() const { in has_upload() [all …]
|
D | url_request_job_manager.h | 33 URLRequestJob* CreateJob(URLRequest* request) const; 37 URLRequestJob* MaybeInterceptRedirect(URLRequest* request, 44 URLRequestJob* MaybeInterceptResponse(URLRequest* request) const; 54 URLRequest::ProtocolFactory* RegisterProtocolFactory( 55 const std::string& scheme, URLRequest::ProtocolFactory* factory); 58 void RegisterRequestInterceptor(URLRequest::Interceptor* interceptor); 59 void UnregisterRequestInterceptor(URLRequest::Interceptor* interceptor); 62 typedef std::map<std::string,URLRequest::ProtocolFactory*> FactoryMap; 63 typedef std::vector<URLRequest::Interceptor*> InterceptorList;
|
D | url_request.h | 57 class URLRequest { 71 typedef URLRequestJob* (ProtocolFactory)(URLRequest* request, 83 virtual URLRequestJob* MaybeIntercept(URLRequest* request) = 0; 91 virtual URLRequestJob* MaybeInterceptRedirect(URLRequest* request, in MaybeInterceptRedirect() 104 virtual URLRequestJob* MaybeInterceptResponse(URLRequest* request) { in MaybeInterceptResponse() 152 virtual void OnReceivedRedirect(URLRequest* request, in OnReceivedRedirect() 162 virtual void OnAuthRequired(URLRequest* request, in OnAuthRequired() 173 URLRequest* request, in OnCertificateRequested() 184 virtual void OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError() 196 virtual void OnResponseStarted(URLRequest* request) = 0; [all …]
|
D | url_request_filter.h | 35 URLRequest::ProtocolFactory*> HostnameHandlerMap; 36 typedef base::hash_map<std::string, URLRequest::ProtocolFactory*> 42 static URLRequest::ProtocolFactory Factory; 46 URLRequest::ProtocolFactory* factory); 52 bool AddUrlHandler(const GURL& url, URLRequest::ProtocolFactory* factory); 67 URLRequestJob* FindRequestHandler(URLRequest* request,
|
D | url_request_job_manager.cc | 25 URLRequest::ProtocolFactory* factory; 46 URLRequestJob* URLRequestJobManager::CreateJob(URLRequest* request) const { in CreateJob() 101 URLRequest* request, in MaybeInterceptRedirect() 122 URLRequest* request) const { in MaybeInterceptResponse() 156 URLRequest::ProtocolFactory* URLRequestJobManager::RegisterProtocolFactory( in RegisterProtocolFactory() 158 URLRequest::ProtocolFactory* factory) { in RegisterProtocolFactory() 165 URLRequest::ProtocolFactory* old_factory; in RegisterProtocolFactory() 181 URLRequest::Interceptor* interceptor) { in RegisterRequestInterceptor() 194 URLRequest::Interceptor* interceptor) { in UnregisterRequestInterceptor()
|
D | url_request_filter.cc | 21 URLRequestJob* URLRequestFilter::Factory(URLRequest* request, in Factory() 28 const std::string& hostname, URLRequest::ProtocolFactory* factory) { in AddHostnameHandler() 32 URLRequest::RegisterProtocolFactory(scheme, in AddHostnameHandler() 61 URLRequest::ProtocolFactory* factory) { in AddUrlHandler() 67 URLRequest::RegisterProtocolFactory(url.scheme(), in AddUrlHandler() 103 URLRequest::RegisterProtocolFactory(*scheme, NULL); in ClearHandlers() 111 URLRequestJob* URLRequestFilter::FindRequestHandler(URLRequest* request, in FindRequestHandler()
|
D | url_request_context.h | 29 class URLRequest; variable 87 RequestTracker<URLRequest>* url_request_tracker() { in url_request_tracker() 112 virtual bool InterceptRequestCookies(const URLRequest* request, in InterceptRequestCookies() 119 virtual bool InterceptResponseCookie(const URLRequest* request, in InterceptResponseCookie() 148 RequestTracker<URLRequest> url_request_tracker_;
|
D | url_request_test_job.h | 39 explicit URLRequestTestJob(URLRequest* request); 43 explicit URLRequestTestJob(URLRequest* request, bool auto_advance); 48 explicit URLRequestTestJob(URLRequest* request, 88 static URLRequest::ProtocolFactory Factory;
|
D | url_request_unittest.h | 174 class TestURLRequest : public URLRequest { 177 : URLRequest(url, delegate) { in TestURLRequest() 184 class TestDelegate : public URLRequest::Delegate { 203 virtual void OnReceivedRedirect(URLRequest* request, const GURL& new_url, in OnReceivedRedirect() 214 virtual void OnResponseStarted(URLRequest* request) { in OnResponseStarted() 237 virtual void OnReadCompleted(URLRequest* request, int bytes_read) { in OnReadCompleted() 273 virtual void OnResponseCompleted(URLRequest* request) { in OnResponseCompleted() 278 void OnAuthRequired(URLRequest* request, net::AuthChallengeInfo* auth_info) { in OnAuthRequired() 286 virtual void OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError() 440 virtual void OnResponseCompleted(URLRequest* request) { in OnResponseCompleted() [all …]
|
D | url_request_data_job.h | 13 class URLRequest; variable 17 explicit URLRequestDataJob(URLRequest* request); 23 static URLRequest::ProtocolFactory Factory;
|
D | url_request_unittest.cc | 129 URLRequest r(server_->TestServerPage("echo"), &d); in HTTPUploadDataOperationTest() 165 URLRequest r(GURL("https://www.redirect.com/"), &d); in TEST_F() 190 URLRequest r(GURL("https://www.server-auth.com/"), &d); in TEST_F() 501 URLRequest r(server_->TestServerPage("cachetime"), &d); in TEST_F() 511 URLRequest r(server_->TestServerPage("cachetime"), &d); in TEST_F() 803 URLRequest r(GURL("http://thisisnotavalidurl0123456789foo.com/"), &d); in TEST_F() 1102 URLRequest req(server_->TestServerPage("echoheader?foo"), &d); in TEST_F() 1112 URLRequest req(server_->TestServerPage("echoheader?foo"), &d); in TEST_F() 1124 URLRequest req(server_->TestServerPage("echoheader?foo"), &d); in TEST_F() 1144 URLRequest r(server_->TestServerPage("auth-basic"), &d); in TEST_F() [all …]
|
D | url_request_job.h | 26 class URLRequest; variable 43 explicit URLRequestJob(URLRequest* request); 47 URLRequest* request() const { in request() 283 URLRequest* request_;
|
D | url_request_test_job.cc | 73 URLRequestJob* URLRequestTestJob::Factory(URLRequest* request, in Factory() 78 URLRequestTestJob::URLRequestTestJob(URLRequest* request) in URLRequestTestJob() 87 URLRequestTestJob::URLRequestTestJob(URLRequest* request, bool auto_advance) in URLRequestTestJob() 96 URLRequestTestJob::URLRequestTestJob(URLRequest* request, in URLRequestTestJob()
|
D | url_request_about_job.h | 15 explicit URLRequestAboutJob(URLRequest* request); 20 static URLRequest::ProtocolFactory Factory;
|
D | url_request_about_job.cc | 14 URLRequestJob* URLRequestAboutJob::Factory(URLRequest* request, in Factory() 19 URLRequestAboutJob::URLRequestAboutJob(URLRequest* request) in URLRequestAboutJob()
|
D | url_request_data_job.cc | 13 URLRequestJob* URLRequestDataJob::Factory(URLRequest* request, in Factory() 18 URLRequestDataJob::URLRequestDataJob(URLRequest* request) in URLRequestDataJob()
|
D | url_request_simple_job.h | 12 class URLRequest; variable 16 explicit URLRequestSimpleJob(URLRequest* request);
|
D | url_request_file_job.h | 24 URLRequestFileJob(URLRequest* request, const FilePath& file_path); 35 static URLRequest::ProtocolFactory Factory;
|
D | url_request_new_ftp_job.h | 27 explicit URLRequestNewFtpJob(URLRequest* request); 29 static URLRequestJob* Factory(URLRequest* request, const std::string& scheme);
|
D | url_request_http_job.h | 28 static URLRequestJob* Factory(URLRequest* request, const std::string& scheme); 31 explicit URLRequestHttpJob(URLRequest* request);
|
D | url_request_error_job.h | 15 URLRequestErrorJob(URLRequest* request, int error);
|
/external/chromium/net/proxy/ |
D | proxy_script_fetcher.cc | 75 public URLRequest::Delegate { 93 virtual void OnAuthRequired(URLRequest* request, 95 virtual void OnSSLCertificateError(URLRequest* request, int cert_error, 97 virtual void OnResponseStarted(URLRequest* request); 98 virtual void OnReadCompleted(URLRequest* request, int num_bytes); 99 virtual void OnResponseCompleted(URLRequest* request); 103 void ReadBody(URLRequest* request); 130 scoped_ptr<URLRequest> cur_request_; 176 cur_request_.reset(new URLRequest(url, this)); in Fetch() 214 void ProxyScriptFetcherImpl::OnAuthRequired(URLRequest* request, in OnAuthRequired() [all …]
|
/external/chromium/net/base/ |
D | https_prober.h | 31 class HTTPSProber : public URLRequest::Delegate { 52 void OnAuthRequired(URLRequest* request, 54 void OnSSLCertificateError(URLRequest* request, 57 void OnResponseStarted(URLRequest* request); 58 void OnReadCompleted(URLRequest* request, int bytes_read); 61 void Success(URLRequest* request); 62 void Failure(URLRequest* request); 63 void DoCallback(URLRequest* request, bool result);
|
D | https_prober.cc | 31 URLRequest* req = new URLRequest(url, this); in ProbeHost() 37 void HTTPSProber::Success(URLRequest* request) { in Success() 41 void HTTPSProber::Failure(URLRequest* request) { in Failure() 45 void HTTPSProber::DoCallback(URLRequest* request, bool result) { in DoCallback() 57 void HTTPSProber::OnAuthRequired(URLRequest* request, in OnAuthRequired() 62 void HTTPSProber::OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError() 68 void HTTPSProber::OnResponseStarted(URLRequest* request) { in OnResponseStarted() 76 void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) { in OnReadCompleted()
|
/external/chromium/net/ocsp/ |
D | nss_ocsp.cc | 146 public URLRequest::Delegate, 251 virtual void OnResponseStarted(URLRequest* request) { in OnResponseStarted() 265 virtual void OnReadCompleted(URLRequest* request, int bytes_read) { in OnReadCompleted() 334 request_ = new URLRequest(url_, this); in StartURLRequest() 389 URLRequest* request_; // The actual request this wraps
|