Home
last modified time | relevance | path

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

123456

/external/chromium/net/url_request/
Durl_request.cc65 URLRequestJob* URLRequest::Interceptor::MaybeInterceptRedirect( in MaybeInterceptRedirect()
66 URLRequest* request, in MaybeInterceptRedirect()
71 URLRequestJob* URLRequest::Interceptor::MaybeInterceptResponse( in MaybeInterceptResponse()
72 URLRequest* request) { in MaybeInterceptResponse()
79 void URLRequest::Delegate::OnReceivedRedirect(URLRequest* request, in OnReceivedRedirect()
84 void URLRequest::Delegate::OnAuthRequired(URLRequest* request, in OnAuthRequired()
89 void URLRequest::Delegate::OnCertificateRequested( in OnCertificateRequested()
90 URLRequest* request, in OnCertificateRequested()
95 void URLRequest::Delegate::OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError()
101 void URLRequest::Delegate::OnGetCookies(URLRequest* request, in OnGetCookies()
[all …]
Durl_request_job_manager.h40 URLRequestJob* CreateJob(URLRequest* request) const;
44 URLRequestJob* MaybeInterceptRedirect(URLRequest* request,
51 URLRequestJob* MaybeInterceptResponse(URLRequest* request) const;
61 URLRequest::ProtocolFactory* RegisterProtocolFactory(
62 const std::string& scheme, URLRequest::ProtocolFactory* factory);
65 void RegisterRequestInterceptor(URLRequest::Interceptor* interceptor);
66 void UnregisterRequestInterceptor(URLRequest::Interceptor* interceptor);
72 typedef std::map<std::string, URLRequest::ProtocolFactory*> FactoryMap;
73 typedef std::vector<URLRequest::Interceptor*> InterceptorList;
Durl_request_test_util.h86 class TestURLRequest : public net::URLRequest {
94 class TestDelegate : public net::URLRequest::Delegate {
134 virtual void OnReceivedRedirect(net::URLRequest* request, const GURL& new_url,
136 virtual void OnAuthRequired(net::URLRequest* request,
138 virtual void OnSSLCertificateError(net::URLRequest* request,
141 virtual void OnGetCookies(net::URLRequest* request, bool blocked_by_policy);
142 virtual void OnSetCookie(net::URLRequest* request,
146 virtual void OnResponseStarted(net::URLRequest* request);
147 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read);
152 virtual void OnResponseCompleted(net::URLRequest* request);
[all …]
Dhttps_prober.h35 class HTTPSProber : public URLRequest::Delegate {
57 virtual void OnAuthRequired(URLRequest* request,
59 virtual void OnSSLCertificateError(URLRequest* request,
62 virtual void OnResponseStarted(URLRequest* request);
63 virtual void OnReadCompleted(URLRequest* request, int bytes_read);
71 void Success(URLRequest* request);
72 void Failure(URLRequest* request);
73 void DoCallback(URLRequest* request, bool result);
Durl_request.h62 class NET_EXPORT URLRequest : public base::NonThreadSafe {
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);
161 virtual void OnReceivedRedirect(URLRequest* request,
170 virtual void OnAuthRequired(URLRequest* request,
179 URLRequest* request,
188 virtual void OnSSLCertificateError(URLRequest* request,
195 virtual void OnGetCookies(URLRequest* request, bool blocked_by_policy);
[all …]
Dhttps_prober.cc37 URLRequest* req = new URLRequest(url, this); in ProbeHost()
43 void HTTPSProber::OnAuthRequired(URLRequest* request, in OnAuthRequired()
48 void HTTPSProber::OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError()
54 void HTTPSProber::OnResponseStarted(URLRequest* request) { in OnResponseStarted()
62 void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) { in OnReadCompleted()
72 void HTTPSProber::Success(URLRequest* request) { in Success()
76 void HTTPSProber::Failure(URLRequest* request) { in Failure()
80 void HTTPSProber::DoCallback(URLRequest* request, bool result) { in DoCallback()
Durl_request_test_util.cc99 : net::URLRequest(url, delegate) { in TestURLRequest()
129 void TestDelegate::OnReceivedRedirect(net::URLRequest* request, in OnReceivedRedirect()
141 void TestDelegate::OnAuthRequired(net::URLRequest* request, in OnAuthRequired()
150 void TestDelegate::OnSSLCertificateError(net::URLRequest* request, in OnSSLCertificateError()
163 void TestDelegate::OnGetCookies(net::URLRequest* request, in OnGetCookies()
172 void TestDelegate::OnSetCookie(net::URLRequest* request, in OnSetCookie()
185 void TestDelegate::OnResponseStarted(net::URLRequest* request) { in OnResponseStarted()
208 void TestDelegate::OnReadCompleted(net::URLRequest* request, int bytes_read) { in OnReadCompleted()
244 void TestDelegate::OnResponseCompleted(net::URLRequest* request) { in OnResponseCompleted()
259 net::URLRequest* request, in OnBeforeURLRequest()
[all …]
Durl_request_filter.h38 URLRequest::ProtocolFactory*> HostnameHandlerMap;
39 typedef base::hash_map<std::string, URLRequest::ProtocolFactory*>
44 static URLRequest::ProtocolFactory Factory;
51 URLRequest::ProtocolFactory* factory);
58 URLRequest::ProtocolFactory* factory);
73 URLRequestJob* FindRequestHandler(URLRequest* request,
Durl_request_job_manager.cc28 URLRequest::ProtocolFactory* factory;
50 URLRequest* request) const { in CreateJob()
105 URLRequest* request, in MaybeInterceptRedirect()
126 URLRequest* request) const { in MaybeInterceptResponse()
160 URLRequest::ProtocolFactory* URLRequestJobManager::RegisterProtocolFactory( in RegisterProtocolFactory()
162 URLRequest::ProtocolFactory* factory) { in RegisterProtocolFactory()
169 URLRequest::ProtocolFactory* old_factory; in RegisterProtocolFactory()
185 URLRequest::Interceptor* interceptor) { in RegisterRequestInterceptor()
198 URLRequest::Interceptor* interceptor) { in UnregisterRequestInterceptor()
Durl_request_filter.cc18 URLRequestJob* URLRequestFilter::Factory(URLRequest* request, in Factory()
32 const std::string& hostname, URLRequest::ProtocolFactory* factory) { in AddHostnameHandler()
36 URLRequest::RegisterProtocolFactory(scheme, &URLRequestFilter::Factory); in AddHostnameHandler()
66 URLRequest::ProtocolFactory* factory) { in AddUrlHandler()
72 URLRequest::RegisterProtocolFactory(url.scheme(), in AddUrlHandler()
109 URLRequest::RegisterProtocolFactory(*scheme, NULL); in ClearHandlers()
120 URLRequest* request, in FindRequestHandler()
/external/chromium/net/base/
Dnetwork_delegate.h27 class URLRequest; variable
38 int NotifyBeforeURLRequest(URLRequest* request,
44 void NotifyResponseStarted(URLRequest* request);
45 void NotifyReadCompleted(URLRequest* request, int bytes_read);
46 void NotifyURLRequestDestroyed(URLRequest* request);
54 URLRequestJob* MaybeCreateURLRequestJob(URLRequest* request);
66 virtual int OnBeforeURLRequest(URLRequest* request,
79 virtual void OnResponseStarted(URLRequest* request) = 0;
82 virtual void OnReadCompleted(URLRequest* request, int bytes_read) = 0;
87 virtual void OnURLRequestDestroyed(URLRequest* request) = 0;
[all …]
Dnetwork_delegate.cc11 int NetworkDelegate::NotifyBeforeURLRequest(URLRequest* request, in NotifyBeforeURLRequest()
29 void NetworkDelegate::NotifyResponseStarted(URLRequest* request) { in NotifyResponseStarted()
35 void NetworkDelegate::NotifyReadCompleted(URLRequest* request, int bytes_read) { in NotifyReadCompleted()
41 void NetworkDelegate::NotifyURLRequestDestroyed(URLRequest* request) { in NotifyURLRequestDestroyed()
46 URLRequestJob* NetworkDelegate::MaybeCreateURLRequestJob(URLRequest* request) { in MaybeCreateURLRequestJob()
/external/chromium/net/proxy/
Dproxy_script_fetcher_impl.h28 public URLRequest::Delegate {
44 virtual void OnResponseCompleted(URLRequest* request);
53 virtual void OnAuthRequired(URLRequest* request,
55 virtual void OnSSLCertificateError(URLRequest* request, int cert_error,
57 virtual void OnResponseStarted(URLRequest* request);
58 virtual void OnReadCompleted(URLRequest* request, int num_bytes);
64 void ReadBody(URLRequest* request);
68 bool ConsumeBytesRead(URLRequest* request, int num_bytes);
94 scoped_ptr<URLRequest> cur_request_;
/external/chromium/chrome/browser/
Dplugin_download_helper.h21 class PluginDownloadUrlHelper : public net::URLRequest::Delegate {
42 virtual void OnAuthRequired(net::URLRequest* request,
44 virtual void OnSSLCertificateError(net::URLRequest* request,
47 virtual void OnResponseStarted(net::URLRequest* request);
48 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read);
50 void OnDownloadCompleted(net::URLRequest* request);
56 net::URLRequest* download_file_request_;
Dplugin_download_helper.cc38 download_file_request_ = new net::URLRequest(GURL(download_url_), this); in InitiateDownload()
46 net::URLRequest* request, in OnAuthRequired()
48 net::URLRequest::Delegate::OnAuthRequired(request, auth_info); in OnAuthRequired()
53 net::URLRequest* request, in OnSSLCertificateError()
56 net::URLRequest::Delegate::OnSSLCertificateError(request, cert_error, cert); in OnSSLCertificateError()
60 void PluginDownloadUrlHelper::OnResponseStarted(net::URLRequest* request) { in OnResponseStarted()
94 void PluginDownloadUrlHelper::OnReadCompleted(net::URLRequest* request, in OnReadCompleted()
132 void PluginDownloadUrlHelper::OnDownloadCompleted(net::URLRequest* request) { in OnDownloadCompleted()
/external/chromium/chrome/browser/chromeos/
Dgview_request_interceptor_unittest.cc23 explicit GViewURLRequestTestJob(net::URLRequest* request) in GViewURLRequestTestJob()
53 net::URLRequest::RegisterProtocolFactory("http", in SetUp()
60 net::URLRequest::RegisterProtocolFactory("http", NULL); in TearDown()
64 static net::URLRequestJob* Factory(net::URLRequest* request, in Factory()
106 net::URLRequest::Interceptor* interceptor_;
111 net::URLRequest request(GURL("http://foo.com/index.html"), &test_delegate_); in TEST_F()
119 net::URLRequest request(GURL("http://foo.com/file.pdf"), &test_delegate_); in TEST_F()
137 net::URLRequest request(GURL("http://foo.com/file.pdf"), &test_delegate_); in TEST_F()
154 net::URLRequest request(GURL("http://foo.com/file.pdf"), &test_delegate_); in TEST_F()
167 net::URLRequest request(GURL("http://foo.com/file.pdf"), &test_delegate_); in TEST_F()
[all …]
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebRequest.h53 class WebRequest : public net::URLRequest::Delegate, public base::RefCountedThreadSafe<WebRequest> {
75 virtual void OnReceivedRedirect(net::URLRequest*, const GURL&, bool* deferRedirect);
76 virtual void OnResponseStarted(net::URLRequest*);
77 virtual void OnReadCompleted(net::URLRequest*, int bytesRead);
78 virtual void OnAuthRequired(net::URLRequest*, net::AuthChallengeInfo*);
79 …virtual void OnSSLCertificateError(net::URLRequest* request, int cert_error, net::X509Certificate*…
80 …virtual void OnCertificateRequested(net::URLRequest* request, net::SSLCertRequestInfo* cert_reques…
107 OwnPtr<net::URLRequest> m_request;
/external/chromium/chrome/browser/net/
Dchrome_dns_cert_provenance_checker.cc51 net::URLRequest* url_request(new net::URLRequest(upload_url_, &delegate_)); in OnDnsCertLookupFailed()
64 void RequestComplete(net::URLRequest* request) { in RequestComplete()
65 std::set<net::URLRequest*>::iterator i = inflight_requests_.find(request); in RequestComplete()
74 class URLRequestDelegate : public net::URLRequest::Delegate {
81 void OnResponseStarted(net::URLRequest* request) { in OnResponseStarted()
94 void OnReadCompleted(net::URLRequest* request, int bytes_read) { in OnReadCompleted()
106 std::set<net::URLRequest*> inflight_requests_;
Dchrome_network_delegate.h42 virtual int OnBeforeURLRequest(net::URLRequest* request,
48 virtual void OnResponseStarted(net::URLRequest* request);
49 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read);
50 virtual void OnURLRequestDestroyed(net::URLRequest* request);
52 net::URLRequest* request);
Dconnect_interceptor.cc13 net::URLRequest::RegisterRequestInterceptor(this); in ConnectInterceptor()
17 net::URLRequest::UnregisterRequestInterceptor(this); in ~ConnectInterceptor()
21 net::URLRequest* request) { in MaybeIntercept()
72 net::URLRequest* request) { in MaybeInterceptResponse()
77 net::URLRequest* request, in MaybeInterceptRedirect()
Dchrome_network_delegate.cc23 void ForwardProxyErrors(net::URLRequest* request, in ForwardProxyErrors()
64 net::URLRequest* request, in OnBeforeURLRequest()
81 void ChromeNetworkDelegate::OnResponseStarted(net::URLRequest* request) { in OnResponseStarted()
85 void ChromeNetworkDelegate::OnReadCompleted(net::URLRequest* request, in OnReadCompleted()
90 void ChromeNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { in OnURLRequestDestroyed()
96 net::URLRequest* request) { in OnMaybeCreateURLRequestJob()
Dconnect_interceptor.h16 class ConnectInterceptor : public net::URLRequest::Interceptor {
26 virtual net::URLRequestJob* MaybeIntercept(net::URLRequest* request);
27 virtual net::URLRequestJob* MaybeInterceptResponse(net::URLRequest* request);
28 virtual net::URLRequestJob* MaybeInterceptRedirect(net::URLRequest* request,
/external/chromium/chrome/browser/debugger/
Ddevtools_http_protocol_handler.h25 public net::URLRequest::Delegate,
79 virtual void OnResponseStarted(net::URLRequest* request);
80 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read);
84 void Bind(net::URLRequest* request, int connection_id);
85 void RequestCompleted(net::URLRequest* request);
102 typedef std::map<net::URLRequest*, int>
105 typedef std::map<int, std::set<net::URLRequest*> >
108 typedef std::map<net::URLRequest*, scoped_refptr<net::IOBuffer> >
/external/chromium/chrome/browser/extensions/
Dextension_webrequest_api.h26 class URLRequest; variable
44 net::URLRequest* request,
58 void OnURLRequestDestroyed(ProfileId profile_id, net::URLRequest* request);
96 typedef std::map<uint64, net::URLRequest*> HttpRequestMap;
104 net::URLRequest* request,
123 net::URLRequest* request);
130 void OnRequestDeleted(net::URLRequest* request);
/external/chromium/chrome/browser/ui/login/
Dlogin_prompt.h20 class URLRequest; variable
34 LoginHandler(net::AuthChallengeInfo* auth_info, net::URLRequest* request);
40 net::URLRequest* request);
135 net::URLRequest* request_;
210 net::URLRequest* request);
215 void ResetLoginHandlerForRequest(net::URLRequest* request);

123456