Home
last modified time | relevance | path

Searched refs:network_delegate (Results 1 – 25 of 213) sorted by relevance

123456789

/external/chromium_org/chrome/browser/policy/cloud/
Dtest_request_interceptor.cc36 net::NetworkDelegate* network_delegate) { in ErrorJobCallback() argument
37 return new net::URLRequestErrorJob(request, network_delegate, error); in ErrorJobCallback()
43 net::NetworkDelegate* network_delegate) { in BadRequestJobCallback() argument
50 request, network_delegate, headers, std::string(), true); in BadRequestJobCallback()
55 net::NetworkDelegate* network_delegate) { in FileJobCallback() argument
58 network_delegate, in FileJobCallback()
106 net::NetworkDelegate* network_delegate) { in RegisterJobCallback() argument
109 return BadRequestJobCallback(request, network_delegate); in RegisterJobCallback()
117 return BadRequestJobCallback(request, network_delegate); in RegisterJobCallback()
124 return BadRequestJobCallback(request, network_delegate); in RegisterJobCallback()
[all …]
/external/chromium_org/content/browser/appcache/
Dappcache_request_handler_unittest.cc87 net::NetworkDelegate* network_delegate, in MockURLRequestJob() argument
89 : net::URLRequestJob(request, network_delegate), in MockURLRequestJob()
93 net::NetworkDelegate* network_delegate, in MockURLRequestJob() argument
95 : net::URLRequestJob(request, network_delegate), in MockURLRequestJob()
137 net::NetworkDelegate* network_delegate) const OVERRIDE { in MaybeCreateJobWithProtocolHandler()
146 network_delegate, in MaybeCreateJobWithProtocolHandler()
264 request_->context()->network_delegate()); in MainResource_Miss()
286 request_->context()->network_delegate(), in Verify_MainResource_Miss()
290 request_.get(), request_->context()->network_delegate()); in Verify_MainResource_Miss()
317 request_->context()->network_delegate()); in MainResource_Hit()
[all …]
Dappcache_request_handler.cc43 net::URLRequest* request, net::NetworkDelegate* network_delegate) { in MaybeLoadResource() argument
75 MaybeLoadMainResource(request, network_delegate); in MaybeLoadResource()
77 MaybeLoadSubResource(request, network_delegate); in MaybeLoadResource()
92 net::NetworkDelegate* network_delegate, in MaybeLoadFallbackForRedirect() argument
111 job_ = new AppCacheURLRequestJob(request, network_delegate, in MaybeLoadFallbackForRedirect()
118 job_ = new AppCacheURLRequestJob(request, network_delegate, in MaybeLoadFallbackForRedirect()
129 net::URLRequest* request, net::NetworkDelegate* network_delegate) { in MaybeLoadFallbackForResponse() argument
165 job_ = new AppCacheURLRequestJob(request, network_delegate, in MaybeLoadFallbackForResponse()
237 net::URLRequest* request, net::NetworkDelegate* network_delegate) { in MaybeLoadMainResource() argument
249 job_ = new AppCacheURLRequestJob(request, network_delegate, in MaybeLoadMainResource()
[all …]
Dappcache_interceptor.cc98 net::URLRequest* request, net::NetworkDelegate* network_delegate) { in MaybeIntercept() argument
102 return handler->MaybeLoadResource(request, network_delegate); in MaybeIntercept()
107 net::NetworkDelegate* network_delegate, in MaybeInterceptRedirect() argument
113 request, network_delegate, location); in MaybeInterceptRedirect()
117 net::URLRequest* request, net::NetworkDelegate* network_delegate) { in MaybeInterceptResponse() argument
121 return handler->MaybeLoadFallbackForResponse(request, network_delegate); in MaybeInterceptResponse()
Dappcache_request_handler.h39 net::URLRequest* request, net::NetworkDelegate* network_delegate);
42 net::NetworkDelegate* network_delegate,
45 net::URLRequest* request, net::NetworkDelegate* network_delegate);
87 net::NetworkDelegate* network_delegate);
99 net::NetworkDelegate* network_delegate);
Dview_appcache_internals_job.cc315 net::NetworkDelegate* network_delegate, in BaseInternalsJob() argument
317 : URLRequestSimpleJob(request, network_delegate), in BaseInternalsJob()
342 net::NetworkDelegate* network_delegate, in MainPageJob() argument
344 : BaseInternalsJob(request, network_delegate, service), in MainPageJob()
407 net::NetworkDelegate* network_delegate, in RedirectToMainPageJob() argument
409 : BaseInternalsJob(request, network_delegate, service) {} in RedirectToMainPageJob()
434 net::NetworkDelegate* network_delegate, in RemoveAppCacheJob() argument
437 : RedirectToMainPageJob(request, network_delegate, service), in RemoveAppCacheJob()
468 net::NetworkDelegate* network_delegate, in ViewAppCacheJob() argument
471 : BaseInternalsJob(request, network_delegate, service), in ViewAppCacheJob()
[all …]
/external/chromium_org/net/url_request/
Durl_request_ftp_job_unittest.cc36 NetworkDelegate* network_delegate, in FtpTestURLRequestContext() argument
42 set_network_delegate(network_delegate); in FtpTestURLRequestContext()
243 TestNetworkDelegate* network_delegate() { return &network_delegate_; } in network_delegate() function in net::__anon20c2f1f30111::URLRequestFtpJobTest
282 EXPECT_EQ(1, network_delegate()->completed_requests()); in TEST_F()
283 EXPECT_EQ(0, network_delegate()->error_count()); in TEST_F()
335 EXPECT_EQ(1, network_delegate()->completed_requests()); in TEST_F()
336 EXPECT_EQ(0, network_delegate()->error_count()); in TEST_F()
378 EXPECT_EQ(1, network_delegate()->completed_requests()); in TEST_F()
379 EXPECT_EQ(0, network_delegate()->error_count()); in TEST_F()
410 EXPECT_EQ(1, network_delegate()->completed_requests()); in TEST_F()
[all …]
Dfile_protocol_handler.cc25 URLRequest* request, NetworkDelegate* network_delegate) const { in MaybeCreateJob()
30 if (!network_delegate || in MaybeCreateJob()
31 !network_delegate->CanAccessFile(*request, file_path)) { in MaybeCreateJob()
32 return new URLRequestErrorJob(request, network_delegate, ERR_ACCESS_DENIED); in MaybeCreateJob()
44 return new URLRequestFileDirJob(request, network_delegate, file_path); in MaybeCreateJob()
49 return new URLRequestFileJob(request, network_delegate, file_path, in MaybeCreateJob()
Durl_request_job_manager.cc48 URLRequest* request, NetworkDelegate* network_delegate) const { in CreateJob()
53 return new URLRequestErrorJob(request, network_delegate, ERR_INVALID_URL); in CreateJob()
62 request, network_delegate, ERR_UNKNOWN_URL_SCHEME); in CreateJob()
77 URLRequestJob* job = (*i)->MaybeIntercept(request, network_delegate); in CreateJob()
84 scheme, request, network_delegate); in CreateJob()
92 request, network_delegate, scheme); in CreateJob()
102 return new URLRequestErrorJob(request, network_delegate, ERR_FAILED); in CreateJob()
107 NetworkDelegate* network_delegate, in MaybeInterceptRedirect() argument
126 network_delegate, in MaybeInterceptRedirect()
135 URLRequest* request, NetworkDelegate* network_delegate) const { in MaybeInterceptResponse()
[all …]
Durl_request_unittest.cc882 TestNetworkDelegate network_delegate; in TEST_F() local
883 network_delegate.set_can_access_files(true); in TEST_F()
884 default_context_.set_network_delegate(&network_delegate); in TEST_F()
895 TestNetworkDelegate network_delegate; in TEST_F() local
896 network_delegate.set_can_access_files(false); in TEST_F()
897 default_context_.set_network_delegate(&network_delegate); in TEST_F()
1026 TestNetworkDelegate network_delegate; in TEST_F() local
1027 network_delegate.set_cancel_request_with_policy_violating_referrer(true); in TEST_F()
1028 context.set_network_delegate(&network_delegate); in TEST_F()
1103 RestartTestJob(URLRequest* request, NetworkDelegate* network_delegate) in RestartTestJob() argument
[all …]
Durl_request_filter_unittest.cc24 NetworkDelegate* network_delegate, in FactoryA() argument
26 job_a = new URLRequestTestJob(request, network_delegate); in FactoryA()
33 NetworkDelegate* network_delegate, in FactoryB() argument
35 job_b = new URLRequestTestJob(request, network_delegate); in FactoryB()
46 URLRequest* request, NetworkDelegate* network_delegate) const OVERRIDE { in MaybeInterceptRequest()
47 job_c = new URLRequestTestJob(request, network_delegate); in MaybeInterceptRequest()
Dftp_protocol_handler.cc29 URLRequest* request, NetworkDelegate* network_delegate) const { in MaybeCreateJob()
33 return new URLRequestErrorJob(request, network_delegate, ERR_UNSAFE_PORT); in MaybeCreateJob()
37 network_delegate, in MaybeCreateJob()
Durl_request_test_job.cc31 URLRequest* request, NetworkDelegate* network_delegate) const OVERRIDE { in MaybeCreateJob()
32 return new URLRequestTestJob(request, network_delegate); in MaybeCreateJob()
116 NetworkDelegate* network_delegate) in URLRequestTestJob() argument
117 : URLRequestJob(request, network_delegate), in URLRequestTestJob()
128 NetworkDelegate* network_delegate, in URLRequestTestJob() argument
130 : URLRequestJob(request, network_delegate), in URLRequestTestJob()
141 NetworkDelegate* network_delegate, in URLRequestTestJob() argument
145 : URLRequestJob(request, network_delegate), in URLRequestTestJob()
Durl_request_job_factory_impl_unittest.cc23 NetworkDelegate* network_delegate, in MockURLRequestJob() argument
25 : URLRequestJob(request, network_delegate), in MockURLRequestJob()
53 URLRequest* request, NetworkDelegate* network_delegate) const OVERRIDE { in MaybeCreateJob()
56 network_delegate, in MaybeCreateJob()
Durl_request_intercepting_job_factory.cc25 NetworkDelegate* network_delegate) const { in MaybeCreateJobWithProtocolHandler()
28 network_delegate); in MaybeCreateJobWithProtocolHandler()
32 scheme, request, network_delegate); in MaybeCreateJobWithProtocolHandler()
Durl_request_job_manager.h36 NetworkDelegate* network_delegate) const;
41 NetworkDelegate* network_delegate,
49 URLRequest* request, NetworkDelegate* network_delegate) const;
Durl_request_filter.cc25 URLRequest* request, NetworkDelegate* network_delegate) const OVERRIDE { in MaybeInterceptRequest()
26 return factory_(request, network_delegate, request->url().scheme()); in MaybeInterceptRequest()
131 NetworkDelegate* network_delegate) const { in MaybeInterceptRequest()
143 job = it->second->MaybeInterceptRequest(request, network_delegate); in MaybeInterceptRequest()
150 job = it->second->MaybeInterceptRequest(request, network_delegate); in MaybeInterceptRequest()
/external/chromium_org/net/proxy/
Dnetwork_delegate_error_observer.cc20 Core(NetworkDelegate* network_delegate, base::MessageLoopProxy* origin_loop);
37 NetworkDelegateErrorObserver::Core::Core(NetworkDelegate* network_delegate, in Core() argument
39 : network_delegate_(network_delegate), in Core()
68 NetworkDelegate* network_delegate, in NetworkDelegateErrorObserver() argument
70 : core_(new Core(network_delegate, origin_loop)) {} in NetworkDelegateErrorObserver()
/external/chromium_org/chrome/browser/extensions/
Dextension_resource_protocols.cc28 net::NetworkDelegate* network_delegate) in ExtensionResourcesJob() argument
30 request, network_delegate, base::FilePath(), in ExtensionResourcesJob()
83 net::NetworkDelegate* network_delegate) const OVERRIDE;
92 net::URLRequest* request, net::NetworkDelegate* network_delegate) const { in MaybeCreateJob()
93 return new ExtensionResourcesJob(request, network_delegate); in MaybeCreateJob()
/external/chromium_org/storage/browser/fileapi/
Dfile_system_url_request_job_factory.cc28 net::NetworkDelegate* network_delegate) const OVERRIDE;
51 net::URLRequest* request, net::NetworkDelegate* network_delegate) const { in MaybeCreateJob()
59 request, network_delegate, storage_domain_, file_system_context_); in MaybeCreateJob()
62 request, network_delegate, storage_domain_, file_system_context_); in MaybeCreateJob()
/external/chromium_org/net/test/url_request/
Durl_request_failed_job.cc46 net::NetworkDelegate* network_delegate, in URLRequestFailedJob() argument
48 : net::URLRequestJob(request, network_delegate), in URLRequestFailedJob()
99 net::NetworkDelegate* network_delegate, in Factory() argument
102 request, network_delegate, GetErrorCode(request)); in Factory()
/external/chromium_org/content/test/net/
Durl_request_abort_on_end_job.cc27 net::NetworkDelegate* network_delegate, in JobFactory() argument
30 return new URLRequestAbortOnEndJob(request, network_delegate); in JobFactory()
70 net::URLRequest* request, net::NetworkDelegate* network_delegate) in URLRequestAbortOnEndJob() argument
71 : URLRequestJob(request, network_delegate), in URLRequestAbortOnEndJob()
/external/chromium_org/android_webview/browser/net/
Daw_url_request_job_factory.cc43 NetworkDelegate* network_delegate) const { in MaybeCreateJobWithProtocolHandler()
45 scheme, request, network_delegate); in MaybeCreateJobWithProtocolHandler()
57 request, network_delegate, net::ERR_UNKNOWN_URL_SCHEME); in MaybeCreateJobWithProtocolHandler()
/external/chromium_org/content/browser/webui/
Durl_data_manager_backend.cc104 net::NetworkDelegate* network_delegate,
217 net::NetworkDelegate* network_delegate, in URLRequestChromeJob() argument
220 : net::URLRequestJob(request, network_delegate), in URLRequestChromeJob()
439 net::NetworkDelegate* network_delegate) const OVERRIDE { in MaybeCreateJob()
445 network_delegate); in MaybeCreateJob()
451 request, network_delegate, appcache_service_); in MaybeCreateJob()
457 request, network_delegate, blob_storage_context_->context()); in MaybeCreateJob()
464 return new TcmallocInternalsRequestJob(request, network_delegate); in MaybeCreateJob()
471 return new HistogramInternalsRequestJob(request, network_delegate); in MaybeCreateJob()
476 request, network_delegate, in MaybeCreateJob()
[all …]
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_unittest.cc285 net::NetworkDelegate* network_delegate) in URLRequestTestDelayedNetworkJob() argument
286 : net::URLRequestTestJob(request, network_delegate) {} in URLRequestTestDelayedNetworkJob()
312 net::NetworkDelegate* network_delegate) in URLRequestTestDelayedStartJob() argument
313 : net::URLRequestTestJob(request, network_delegate) { in URLRequestTestDelayedStartJob()
317 net::NetworkDelegate* network_delegate, in URLRequestTestDelayedStartJob() argument
319 : net::URLRequestTestJob(request, network_delegate, auto_advance) { in URLRequestTestDelayedStartJob()
323 net::NetworkDelegate* network_delegate, in URLRequestTestDelayedStartJob() argument
328 network_delegate, in URLRequestTestDelayedStartJob()
396 net::NetworkDelegate* network_delegate) in URLRequestTestDelayedCompletionJob() argument
397 : net::URLRequestTestJob(request, network_delegate) {} in URLRequestTestDelayedCompletionJob()
[all …]

123456789