/external/cronet/net/url_request/ |
D | url_request.cc | 146 int URLRequest::Delegate::OnConnected(URLRequest* request, in OnConnected() 152 void URLRequest::Delegate::OnReceivedRedirect(URLRequest* request, in OnReceivedRedirect() 156 void URLRequest::Delegate::OnAuthRequired(URLRequest* request, in OnAuthRequired() 161 void URLRequest::Delegate::OnCertificateRequested( in OnCertificateRequested() 162 URLRequest* request, in OnCertificateRequested() 167 void URLRequest::Delegate::OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError() 174 void URLRequest::Delegate::OnResponseStarted(URLRequest* request, in OnResponseStarted() 182 URLRequest::~URLRequest() { in ~URLRequest() 214 void URLRequest::set_upload(std::unique_ptr<UploadDataStream> upload) { in set_upload() 218 const UploadDataStream* URLRequest::get_upload_for_testing() const { in get_upload_for_testing() [all …]
|
D | url_request_test_util.h | 97 class TestDelegate : public URLRequest::Delegate { 164 int OnConnected(URLRequest* request, 167 void OnReceivedRedirect(URLRequest* request, 170 void OnAuthRequired(URLRequest* request, 175 void OnSSLCertificateError(URLRequest* request, 179 void OnResponseStarted(URLRequest* request, int net_error) override; 180 void OnReadCompleted(URLRequest* request, int bytes_read) override; 185 virtual void OnResponseCompleted(URLRequest* request); 303 int OnBeforeURLRequest(URLRequest* request, 307 URLRequest* request, [all …]
|
D | url_request_test_util.cc | 159 int TestDelegate::OnConnected(URLRequest* request, in OnConnected() 173 void TestDelegate::OnReceivedRedirect(URLRequest* request, in OnReceivedRedirect() 189 void TestDelegate::OnAuthRequired(URLRequest* request, in OnAuthRequired() 203 void TestDelegate::OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError() 219 void TestDelegate::OnResponseStarted(URLRequest* request, int net_error) { in OnResponseStarted() 242 void TestDelegate::OnReadCompleted(URLRequest* request, int bytes_read) { in OnReadCompleted() 296 void TestDelegate::OnResponseCompleted(URLRequest* request) { in OnResponseCompleted() 330 int TestNetworkDelegate::OnBeforeURLRequest(URLRequest* request, in OnBeforeURLRequest() 348 URLRequest* request, in OnBeforeStartTransaction() 366 URLRequest* request, in OnHeadersReceived() [all …]
|
D | url_request.h | 87 class NET_EXPORT URLRequest : public base::SupportsUserData { 131 virtual int OnConnected(URLRequest* request, 152 virtual void OnReceivedRedirect(URLRequest* request, 165 virtual void OnAuthRequired(URLRequest* request, 174 virtual void OnCertificateRequested(URLRequest* request, 187 virtual void OnSSLCertificateError(URLRequest* request, 198 virtual void OnResponseStarted(URLRequest* request, int net_error); 206 virtual void OnReadCompleted(URLRequest* request, int bytes_read) = 0; 213 URLRequest(base::PassKey<URLRequestContext> pass_key, 222 URLRequest(const URLRequest&) = delete; [all …]
|
D | url_request_http_job_unittest.cc | 103 explicit TestURLRequestHttpJob(URLRequest* request) in TestURLRequestHttpJob() 157 std::unique_ptr<URLRequest> request = in TEST_F() 181 std::unique_ptr<URLRequest> request = in TEST_F() 231 std::unique_ptr<URLRequest> request = in TEST_F() 276 std::unique_ptr<URLRequest> request = in TEST_F() 325 std::unique_ptr<URLRequest> request = in TEST_F() 362 std::unique_ptr<URLRequest> CreateFirstPartyRequest( in CreateFirstPartyRequest() 365 URLRequest::Delegate* delegate) { in CreateFirstPartyRequest() 376 std::unique_ptr<URLRequest> req_; 402 std::unique_ptr<URLRequest> request = in TEST_F() [all …]
|
D | report_sender.h | 34 : public URLRequest::Delegate, 63 void OnResponseStarted(URLRequest* request, int net_error) override; 64 void OnReadCompleted(URLRequest* request, int bytes_read) override; 68 std::map<URLRequest*, std::unique_ptr<URLRequest>> inflight_requests_;
|
D | url_request_unittest.cc | 310 PriorityMonitoringURLRequestJob(URLRequest* request, in PriorityMonitoringURLRequestJob() 414 int OnBeforeURLRequest(URLRequest* request, 419 URLRequest* request, 424 URLRequest* request, 497 int BlockingNetworkDelegate::OnBeforeURLRequest(URLRequest* request, in OnBeforeURLRequest() 514 URLRequest* request, in OnBeforeStartTransaction() 531 URLRequest* request, in OnHeadersReceived() 629 void OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError() 729 std::unique_ptr<URLRequest> CreateFirstPartyRequest( in CreateFirstPartyRequest() 732 URLRequest::Delegate* delegate) { in CreateFirstPartyRequest() [all …]
|
D | url_request_context.cc | 56 : url_requests_(std::make_unique<std::set<const URLRequest*>>()), in URLRequestContext() 113 std::unique_ptr<URLRequest> URLRequestContext::CreateRequest( in CreateRequest() 116 URLRequest::Delegate* delegate) const { in CreateRequest() 122 std::unique_ptr<URLRequest> URLRequestContext::CreateRequest( in CreateRequest() 125 URLRequest::Delegate* delegate, in CreateRequest() 129 return std::make_unique<URLRequest>( in CreateRequest() 139 const URLRequest* request = *url_requests_->begin(); in AssertNoURLRequests()
|
D | url_request_job_factory_unittest.cc | 33 explicit MockURLRequestJob(URLRequest* request) : URLRequestJob(request) {} in MockURLRequestJob() 53 std::unique_ptr<URLRequestJob> CreateJob(URLRequest* request) const override { in CreateJob() 63 std::unique_ptr<URLRequest> request( in TEST() 80 std::unique_ptr<URLRequest> request( in TEST()
|
D | url_request_context.h | 54 class URLRequest; variable 96 std::unique_ptr<URLRequest> CreateRequest( 99 URLRequest::Delegate* delegate) const; 118 std::unique_ptr<URLRequest> CreateRequest( 121 URLRequest::Delegate* delegate, 189 std::set<const URLRequest*>* url_requests() const { in url_requests() 350 std::unique_ptr<std::set<const URLRequest*>> url_requests_;
|
/external/cronet/net/base/ |
D | network_delegate.h | 51 class URLRequest; variable 61 int NotifyBeforeURLRequest(URLRequest* request, 66 int NotifyBeforeStartTransaction(URLRequest* request, 70 URLRequest* request, 76 void NotifyBeforeRedirect(URLRequest* request, 78 void NotifyResponseStarted(URLRequest* request, int net_error); 79 void NotifyCompleted(URLRequest* request, bool started, int net_error); 80 void NotifyURLRequestDestroyed(URLRequest* request); 83 const URLRequest& request, 87 bool CanSetCookie(const URLRequest& request, [all …]
|
D | network_delegate_impl.h | 35 class URLRequest; variable 45 int OnBeforeURLRequest(URLRequest* request, 50 URLRequest* request, 55 URLRequest* request, 62 void OnBeforeRedirect(URLRequest* request, const GURL& new_location) override; 64 void OnResponseStarted(URLRequest* request, int net_error) override; 66 void OnCompleted(URLRequest* request, bool started, int net_error) override; 68 void OnURLRequestDestroyed(URLRequest* request) override; 73 const URLRequest& request, 78 bool OnCanSetCookie(const URLRequest& request, [all …]
|
D | network_delegate_impl.cc | 12 int NetworkDelegateImpl::OnBeforeURLRequest(URLRequest* request, in OnBeforeURLRequest() 19 URLRequest* request, in OnBeforeStartTransaction() 26 URLRequest* request, in OnHeadersReceived() 35 void NetworkDelegateImpl::OnBeforeRedirect(URLRequest* request, in OnBeforeRedirect() 38 void NetworkDelegateImpl::OnResponseStarted(URLRequest* request, in OnResponseStarted() 41 void NetworkDelegateImpl::OnCompleted(URLRequest* request, in OnCompleted() 45 void NetworkDelegateImpl::OnURLRequestDestroyed(URLRequest* request) { in OnURLRequestDestroyed() 52 const URLRequest& request, in OnAnnotateAndMoveUserBlockedCookies() 59 bool NetworkDelegateImpl::OnCanSetCookie(const URLRequest& request, in OnCanSetCookie() 66 const URLRequest& request) const { in OnForcePrivacyMode() [all …]
|
D | network_delegate.cc | 26 int NetworkDelegate::NotifyBeforeURLRequest(URLRequest* request, in NotifyBeforeURLRequest() 40 URLRequest* request, in NotifyBeforeStartTransaction() 51 URLRequest* request, in NotifyHeadersReceived() 67 void NetworkDelegate::NotifyResponseStarted(URLRequest* request, in NotifyResponseStarted() 75 void NetworkDelegate::NotifyBeforeRedirect(URLRequest* request, in NotifyBeforeRedirect() 82 void NetworkDelegate::NotifyCompleted(URLRequest* request, in NotifyCompleted() 91 void NetworkDelegate::NotifyURLRequestDestroyed(URLRequest* request) { in NotifyURLRequestDestroyed() 106 const URLRequest& request, in AnnotateAndMoveUserBlockedCookies() 119 bool NetworkDelegate::CanSetCookie(const URLRequest& request, in CanSetCookie() 128 const URLRequest& request) const { in ForcePrivacyMode() [all …]
|
/external/cronet/net/nqe/ |
D | throughput_analyzer.h | 34 class URLRequest; variable 75 void NotifyStartTransaction(const URLRequest& request); 78 void NotifyBytesRead(const URLRequest& request); 81 void NotifyRequestCompleted(const URLRequest& request); 87 void NotifyExpectedResponseContentSize(const URLRequest& request, 134 void EraseHangingRequests(const URLRequest& request); 146 typedef std::unordered_map<const URLRequest*, int64_t> ResponseContentSizes; 150 typedef std::unordered_map<const URLRequest*, base::TimeTicks> Requests; 155 typedef std::unordered_set<const URLRequest*> AccuracyDegradingRequests; 160 void UpdateResponseContentSize(const URLRequest* request, [all …]
|
D | throughput_analyzer_unittest.cc | 157 base::circular_deque<std::unique_ptr<URLRequest>> requests; in TEST_F() 166 std::unique_ptr<URLRequest> request( in TEST_F() 231 base::circular_deque<std::unique_ptr<URLRequest>> requests; in TEST_F() 241 std::unique_ptr<URLRequest> request( in TEST_F() 280 std::vector<std::unique_ptr<URLRequest>> requests_not_local; in TEST_F() 286 std::unique_ptr<URLRequest> request_not_local(context->CreateRequest( in TEST_F() 400 std::vector<std::unique_ptr<URLRequest>> requests_not_local; in TEST_F() 406 std::unique_ptr<URLRequest> request_not_local(context->CreateRequest( in TEST_F() 470 std::vector<std::unique_ptr<URLRequest>> requests_not_local; in TEST_F() 473 std::unique_ptr<URLRequest> request_not_local(context->CreateRequest( in TEST_F() [all …]
|
D | throughput_analyzer.cc | 35 bool ShouldDiscardRequest(const URLRequest& request) { in ShouldDiscardRequest() 127 void ThroughputAnalyzer::UpdateResponseContentSize(const URLRequest* request, in UpdateResponseContentSize() 141 void ThroughputAnalyzer::NotifyStartTransaction(const URLRequest& request) { in NotifyStartTransaction() 172 void ThroughputAnalyzer::NotifyBytesRead(const URLRequest& request) { in NotifyBytesRead() 187 void ThroughputAnalyzer::NotifyRequestCompleted(const URLRequest& request) { in NotifyRequestCompleted() 248 const URLRequest& request, in NotifyExpectedResponseContentSize() 390 bool ThroughputAnalyzer::DegradesAccuracy(const URLRequest& request) const { in DegradesAccuracy() 430 void ThroughputAnalyzer::EraseHangingRequests(const URLRequest& request) { in EraseHangingRequests()
|
/external/cronet/net/proxy_resolution/ |
D | pac_file_fetcher_impl.h | 33 public URLRequest::Delegate { 61 void OnResponseCompleted(URLRequest* request, int net_error); 73 void OnReceivedRedirect(URLRequest* request, 76 void OnAuthRequired(URLRequest* request, 78 void OnSSLCertificateError(URLRequest* request, 82 void OnResponseStarted(URLRequest* request, int net_error) override; 83 void OnReadCompleted(URLRequest* request, int num_bytes) override; 95 void ReadBody(URLRequest* request); 99 bool ConsumeBytesRead(URLRequest* request, int num_bytes); 122 std::unique_ptr<URLRequest> cur_request_;
|
D | pac_file_fetcher_impl.cc | 128 void PacFileFetcherImpl::OnResponseCompleted(URLRequest* request, in OnResponseCompleted() 231 void PacFileFetcherImpl::OnReceivedRedirect(URLRequest* request, in OnReceivedRedirect() 252 void PacFileFetcherImpl::OnAuthRequired(URLRequest* request, in OnAuthRequired() 261 void PacFileFetcherImpl::OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError() 272 void PacFileFetcherImpl::OnResponseStarted(URLRequest* request, int net_error) { in OnResponseStarted() 307 void PacFileFetcherImpl::OnReadCompleted(URLRequest* request, int num_bytes) { in OnReadCompleted() 334 void PacFileFetcherImpl::ReadBody(URLRequest* request) { in ReadBody() 351 bool PacFileFetcherImpl::ConsumeBytesRead(URLRequest* request, int num_bytes) { in ConsumeBytesRead()
|
/external/cronet/net/websockets/ |
D | websocket_stream.cc | 52 class Delegate : public URLRequest::Delegate { 58 void OnReceivedRedirect(URLRequest* request, 62 void OnResponseStarted(URLRequest* request, int net_error) override; 64 void OnAuthRequired(URLRequest* request, 67 void OnCertificateRequested(URLRequest* request, 70 void OnSSLCertificateError(URLRequest* request, 75 void OnReadCompleted(URLRequest* request, int bytes_read) override; 78 void OnAuthRequiredComplete(URLRequest* request, 196 std::unique_ptr<URLRequest> url_request = std::move(url_request_); in PerformUpgrade() 277 std::unique_ptr<URLRequest> url_request_; [all …]
|
/external/cronet/net/reporting/ |
D | reporting_uploader.cc | 175 URLRequest* raw_request = upload->request.get(); 224 URLRequest* raw_request = upload->request.get(); in StartPayloadRequest() 231 void OnReceivedRedirect(URLRequest* request, in OnReceivedRedirect() 240 void OnAuthRequired(URLRequest* request, in OnAuthRequired() 245 void OnCertificateRequested(URLRequest* request, in OnCertificateRequested() 250 void OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError() 257 void OnResponseStarted(URLRequest* request, int net_error) override { in OnResponseStarted() 297 URLRequest* request = upload->request.get(); in HandlePreflightResponse() 319 void OnReadCompleted(URLRequest* request, int bytes_read) override { in OnReadCompleted() 331 std::map<const URLRequest*, std::unique_ptr<PendingUpload>> uploads_;
|
/external/cronet/components/cronet/ |
D | cronet_url_request.h | 207 class NetworkTasks : public net::URLRequest::Delegate { 256 void OnReceivedRedirect(net::URLRequest* request, 260 net::URLRequest* request, 262 void OnSSLCertificateError(net::URLRequest* request, 266 void OnResponseStarted(net::URLRequest* request, int net_error) override; 267 void OnReadCompleted(net::URLRequest* request, int bytes_read) override; 270 void ReportError(net::URLRequest* request, int net_error); 304 std::unique_ptr<net::URLRequest> url_request_;
|
/external/cronet/net/test/spawned_test_server/ |
D | remote_test_server_spawner_request.cc | 32 class RemoteTestServerSpawnerRequest::Core : public URLRequest::Delegate { 50 void OnResponseStarted(URLRequest* request, int net_error) override; 51 void OnReadCompleted(URLRequest* request, int num_bytes) override; 64 std::unique_ptr<URLRequest> request_; 163 URLRequest* request, in OnResponseStarted() 177 void RemoteTestServerSpawnerRequest::Core::OnReadCompleted(URLRequest* request, in OnReadCompleted()
|
/external/cronet/net/test/embedded_test_server/ |
D | embedded_test_server_unittest.cc | 222 std::unique_ptr<URLRequest> request( in TEST_P() 250 std::unique_ptr<URLRequest> request( in TEST_P() 280 std::unique_ptr<URLRequest> request(context_->CreateRequest( in TEST_P() 301 std::unique_ptr<URLRequest> request(context_->CreateRequest( in TEST_P() 336 std::unique_ptr<URLRequest> request(context_->CreateRequest( in TEST_P() 368 std::unique_ptr<URLRequest> request(context_->CreateRequest( in TEST_P() 395 std::unique_ptr<URLRequest> request1( in TEST_P() 399 std::unique_ptr<URLRequest> request2( in TEST_P() 403 std::unique_ptr<URLRequest> request3( in TEST_P() 462 void OnResponseStarted(URLRequest* request, int net_error) override { in OnResponseStarted() [all …]
|
/external/cronet/net/cert_net/ |
D | cert_net_fetcher_url_request.cc | 320 class Job : public URLRequest::Delegate { 355 void OnReceivedRedirect(URLRequest* request, 358 void OnResponseStarted(URLRequest* request, int net_error) override; 359 void OnReadCompleted(URLRequest* request, int bytes_read) override; 366 void ReadBody(URLRequest* request); 370 bool ConsumeBytesRead(URLRequest* request, int num_bytes); 397 std::unique_ptr<URLRequest> url_request_;
|