Home
last modified time | relevance | path

Searched refs:job_factory_ (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/net/url_request/
Durl_request_intercepting_job_factory.cc15 : job_factory_(job_factory.Pass()), in URLRequestInterceptingJobFactory()
31 return job_factory_->MaybeCreateJobWithProtocolHandler( in MaybeCreateJobWithProtocolHandler()
37 return job_factory_->IsHandledProtocol(scheme); in IsHandledProtocol()
41 return job_factory_->IsHandledURL(url); in IsHandledURL()
46 return job_factory_->IsSafeRedirectTarget(location); in IsSafeRedirectTarget()
Durl_request_simple_job_unittest.cc65 job_factory_.SetProtocolHandler("data", new SimpleJobProtocolHandler()); in URLRequestSimpleJobTest()
66 context_.set_job_factory(&job_factory_); in URLRequestSimpleJobTest()
84 URLRequestJobFactoryImpl job_factory_; member in net::__anoneba60f600111::URLRequestSimpleJobTest
Durl_request_context.h175 const URLRequestJobFactory* job_factory() const { return job_factory_; } in NON_EXPORTED_BASE()
177 job_factory_ = job_factory; in NON_EXPORTED_BASE()
237 const URLRequestJobFactory* job_factory_; in NON_EXPORTED_BASE() local
Durl_request_context.cc32 job_factory_(NULL), in URLRequestContext()
58 set_job_factory(other->job_factory_); in CopyFrom()
Durl_request_intercepting_job_factory.h50 scoped_ptr<URLRequestJobFactory> job_factory_;
Durl_request_context_storage.h95 scoped_ptr<URLRequestJobFactory> job_factory_; variable
Durl_request_context_storage.cc112 job_factory_.reset(job_factory); in set_job_factory()
/external/chromium_org/content/browser/appcache/
Dappcache_url_request_job_unittest.cc234 job_factory_.reset(new MockURLRequestJobFactory()); in SetUpTest()
236 empty_context_->set_job_factory(job_factory_.get()); in SetUpTest()
255 DCHECK(!job_factory_->has_job()); in TearDownTest()
257 job_factory_.reset(); in TearDownTest()
505 job_factory_->SetJob(mock_job); in DeliverNetworkResponse()
514 EXPECT_FALSE(job_factory_->has_job()); in DeliverNetworkResponse()
542 job_factory_->SetJob(mock_job); in DeliverErrorResponse()
551 EXPECT_FALSE(job_factory_->has_job()); in DeliverErrorResponse()
605 job_factory_->SetJob(job.get()); in RequestAppCachedResource()
607 EXPECT_FALSE(job_factory_->has_job()); in RequestAppCachedResource()
[all …]
Dappcache_request_handler_unittest.cc224 job_factory_.reset(new MockURLRequestJobFactory()); in SetUpTest()
225 empty_context_.set_job_factory(job_factory_.get()); in SetUpTest()
237 job_factory_.reset(); in TearDownTest()
393 job_factory_->SetJob( in SimulateResponseCode()
405 job_factory_->SetJob( in SimulateResponseInfo()
806 job_factory_->SetJob(job_); in CanceledRequest()
929 scoped_ptr<MockURLRequestJobFactory> job_factory_; member in content::AppCacheRequestHandlerTest
Dappcache_storage_impl_unittest.cc177 job_factory_ = factory.Pass(); in Init()
179 request_context_->set_job_factory(job_factory_.get()); in Init()
185 job_factory_.reset(); in CleanUp()
189 scoped_ptr<net::URLRequestJobFactory> job_factory_; member in content::__anonbfe68f3d0111::IOThread
/external/chromium_org/content/public/test/
Dmock_blob_url_request_context.cc19 job_factory_.SetProtocolHandler( in MockBlobURLRequestContext()
23 set_job_factory(&job_factory_); in MockBlobURLRequestContext()
Dmock_blob_url_request_context.h33 net::URLRequestJobFactoryImpl job_factory_;
/external/chromium_org/extensions/browser/
Dextension_protocols_unittest.cc113 job_factory_.SetProtocolHandler( in SetProtocolHandler()
117 request_context->set_job_factory(&job_factory_); in SetProtocolHandler()
136 net::URLRequestJobFactoryImpl job_factory_; member in extensions::ExtensionProtocolTest
/external/chromium_org/android_webview/browser/net/
Daw_url_request_context_getter.h69 scoped_ptr<net::URLRequestJobFactory> job_factory_; variable
Daw_url_request_context_getter.cc250 job_factory_ = CreateJobFactory(&protocol_handlers_, in InitializeURLRequestContext()
252 url_request_context_->set_job_factory(job_factory_.get()); in InitializeURLRequestContext()
/external/chromium_org/content/browser/fileapi/
Dfile_system_dir_url_request_job_unittest.cc161 job_factory_.reset(new FileSystemDirURLRequestJobFactory( in TestRequestHelper()
163 empty_context_.set_job_factory(job_factory_.get()); in TestRequestHelper()
284 scoped_ptr<FileSystemDirURLRequestJobFactory> job_factory_; member in content::FileSystemDirURLRequestJobTest
Dfile_system_url_request_job_unittest.cc177 job_factory_.reset(new FileSystemURLRequestJobFactory( in TestRequestHelper()
179 empty_context_.set_job_factory(job_factory_.get()); in TestRequestHelper()
242 scoped_ptr<FileSystemURLRequestJobFactory> job_factory_; member in content::FileSystemURLRequestJobTest
Dfile_writer_delegate_unittest.cc155 scoped_ptr<BlobURLRequestJobFactory> job_factory_; member in content::FileWriterDelegateTest
255 job_factory_.reset(new BlobURLRequestJobFactory(&content_)); in SetUp()
256 empty_context_.set_job_factory(job_factory_.get()); in SetUp()
/external/chromium_org/chrome/browser/custom_handlers/
Dprotocol_handler_registry.cc176 job_factory_ = job_factory.Pass(); in Chain()
190 return job_factory_->MaybeCreateJobWithProtocolHandler( in MaybeCreateJobWithProtocolHandler()
198 job_factory_->IsHandledProtocol(scheme); in IsHandledProtocol()
206 job_factory_->IsHandledURL(url); in IsHandledURL()
212 return job_factory_->IsSafeRedirectTarget(location); in IsSafeRedirectTarget()
Dprotocol_handler_registry.h126 scoped_ptr<URLRequestJobFactory> job_factory_;
/external/chromium_org/sync/internal_api/
Dhttp_bridge.cc127 job_factory_(new net::URLRequestJobFactoryImpl()) { in RequestContext()
139 set_job_factory(job_factory_.get()); in RequestContext()
/external/chromium_org/content/browser/loader/
Dresource_loader_unittest.cc292 job_factory_.SetProtocolHandler( in ResourceLoaderTest()
294 test_url_request_context_.set_job_factory(&job_factory_); in ResourceLoaderTest()
355 net::URLRequestJobFactoryImpl job_factory_; member in content::ResourceLoaderTest
Dresource_dispatcher_host_unittest.cc730 job_factory_.reset(new TestURLRequestJobFactory(this)); in ResourceDispatcherHostTest()
731 request_context->set_job_factory(job_factory_.get()); in ResourceDispatcherHostTest()
845 job_factory_->HandleScheme(scheme); in HandleScheme()
880 scoped_ptr<TestURLRequestJobFactory> job_factory_; member in content::ResourceDispatcherHostTest
1353 EXPECT_EQ(0, job_factory_->url_request_jobs_created_count()); in TEST_F()
1362 job_factory_->SetDelayedStartJobGeneration(true); in TEST_F()
1380 job_factory_->SetNetworkStartNotificationJobGeneration(true); in TEST_F()
2090 job_factory_->SetDelayedCompleteJobGeneration(true); in TEST_F()
2125 job_factory_->SetDelayedCompleteJobGeneration(true); in TEST_F()
2603 job_factory_->SetDelayedCompleteJobGeneration(true); in TEST_F()
/external/chromium_org/sync/internal_api/public/
Dhttp_bridge.h76 scoped_ptr<net::URLRequestJobFactory> job_factory_; variable
/external/chromium_org/chrome/browser/profiles/
Dprofile_io_data.h275 scoped_ptr<net::URLRequestJobFactory> job_factory_; variable

12