Home
last modified time | relevance | path

Searched refs:URLRequest (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium/net/url_request/
Durl_request.cc37 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 …]
Durl_request_job_manager.h33 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;
Durl_request.h57 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 …]
Durl_request_filter.h35 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,
Durl_request_job_manager.cc25 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()
Durl_request_filter.cc21 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()
Durl_request_context.h29 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_;
Durl_request_test_job.h39 explicit URLRequestTestJob(URLRequest* request);
43 explicit URLRequestTestJob(URLRequest* request, bool auto_advance);
48 explicit URLRequestTestJob(URLRequest* request,
88 static URLRequest::ProtocolFactory Factory;
Durl_request_unittest.h174 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 …]
Durl_request_data_job.h13 class URLRequest; variable
17 explicit URLRequestDataJob(URLRequest* request);
23 static URLRequest::ProtocolFactory Factory;
Durl_request_unittest.cc129 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 …]
Durl_request_job.h26 class URLRequest; variable
43 explicit URLRequestJob(URLRequest* request);
47 URLRequest* request() const { in request()
283 URLRequest* request_;
Durl_request_test_job.cc73 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()
Durl_request_about_job.h15 explicit URLRequestAboutJob(URLRequest* request);
20 static URLRequest::ProtocolFactory Factory;
Durl_request_about_job.cc14 URLRequestJob* URLRequestAboutJob::Factory(URLRequest* request, in Factory()
19 URLRequestAboutJob::URLRequestAboutJob(URLRequest* request) in URLRequestAboutJob()
Durl_request_data_job.cc13 URLRequestJob* URLRequestDataJob::Factory(URLRequest* request, in Factory()
18 URLRequestDataJob::URLRequestDataJob(URLRequest* request) in URLRequestDataJob()
Durl_request_simple_job.h12 class URLRequest; variable
16 explicit URLRequestSimpleJob(URLRequest* request);
Durl_request_file_job.h24 URLRequestFileJob(URLRequest* request, const FilePath& file_path);
35 static URLRequest::ProtocolFactory Factory;
Durl_request_new_ftp_job.h27 explicit URLRequestNewFtpJob(URLRequest* request);
29 static URLRequestJob* Factory(URLRequest* request, const std::string& scheme);
Durl_request_http_job.h28 static URLRequestJob* Factory(URLRequest* request, const std::string& scheme);
31 explicit URLRequestHttpJob(URLRequest* request);
Durl_request_error_job.h15 URLRequestErrorJob(URLRequest* request, int error);
/external/chromium/net/proxy/
Dproxy_script_fetcher.cc75 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/
Dhttps_prober.h31 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);
Dhttps_prober.cc31 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/
Dnss_ocsp.cc146 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

12