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.cc66 job_factory_.SetProtocolHandler("data", new SimpleJobProtocolHandler()); in URLRequestSimpleJobTest()
67 context_.set_job_factory(&job_factory_); in URLRequestSimpleJobTest()
85 URLRequestJobFactoryImpl job_factory_; member in net::__anon5dd768730111::URLRequestSimpleJobTest
Durl_request_context.h174 const URLRequestJobFactory* job_factory() const { return job_factory_; } in NON_EXPORTED_BASE()
176 job_factory_ = job_factory; in NON_EXPORTED_BASE()
239 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.h97 scoped_ptr<URLRequestJobFactory> job_factory_; variable
Durl_request_context_storage.cc113 job_factory_.reset(job_factory); in set_job_factory()
/external/chromium_org/content/browser/appcache/
Dappcache_url_request_job_unittest.cc229 job_factory_.reset(new MockURLRequestJobFactory()); in SetUpTest()
231 empty_context_->set_job_factory(job_factory_.get()); in SetUpTest()
250 DCHECK(!job_factory_->has_job()); in TearDownTest()
252 job_factory_.reset(); in TearDownTest()
499 job_factory_->SetJob(mock_job); in DeliverNetworkResponse()
508 EXPECT_FALSE(job_factory_->has_job()); in DeliverNetworkResponse()
536 job_factory_->SetJob(mock_job); in DeliverErrorResponse()
545 EXPECT_FALSE(job_factory_->has_job()); in DeliverErrorResponse()
599 job_factory_->SetJob(job.get()); in RequestAppCachedResource()
601 EXPECT_FALSE(job_factory_->has_job()); in RequestAppCachedResource()
[all …]
Dappcache_request_handler_unittest.cc204 job_factory_.reset(new MockURLRequestJobFactory()); in SetUpTest()
205 empty_context_.set_job_factory(job_factory_.get()); in SetUpTest()
217 job_factory_.reset(); in TearDownTest()
376 job_factory_->SetJob( in SimulateResponseCode()
388 job_factory_->SetJob( in SimulateResponseInfo()
800 job_factory_->SetJob(job_.get()); in CanceledRequest()
925 scoped_ptr<MockURLRequestJobFactory> job_factory_; member in content::AppCacheRequestHandlerTest
Dappcache_storage_impl_unittest.cc154 job_factory_ = factory.Pass(); in Init()
156 request_context_->set_job_factory(job_factory_.get()); in Init()
162 job_factory_.reset(); in CleanUp()
166 scoped_ptr<net::URLRequestJobFactory> job_factory_; member in content::__anonbb9d4b500111::IOThread
/external/chromium_org/content/public/test/
Dmock_blob_url_request_context.cc19 job_factory_.SetProtocolHandler( in MockBlobURLRequestContext()
24 set_job_factory(&job_factory_); in MockBlobURLRequestContext()
Dmock_blob_url_request_context.h33 net::URLRequestJobFactoryImpl job_factory_;
/external/chromium_org/chrome/browser/extensions/
Dextension_protocols_unittest.cc121 job_factory_.SetProtocolHandler( in SetProtocolHandler()
125 request_context->set_job_factory(&job_factory_); in SetProtocolHandler()
144 net::URLRequestJobFactoryImpl job_factory_; member in extensions::ExtensionProtocolTest
/external/chromium_org/android_webview/browser/net/
Daw_url_request_context_getter.h83 scoped_ptr<net::URLRequestJobFactory> job_factory_; variable
Daw_url_request_context_getter.cc253 job_factory_ = CreateJobFactory(&protocol_handlers_, in InitializeURLRequestContext()
255 url_request_context_->set_job_factory(job_factory_.get()); in InitializeURLRequestContext()
/external/chromium_org/content/browser/fileapi/
Dfile_system_dir_url_request_job_unittest.cc164 job_factory_.reset(new FileSystemDirURLRequestJobFactory( in TestRequestHelper()
166 empty_context_.set_job_factory(job_factory_.get()); in TestRequestHelper()
285 scoped_ptr<FileSystemDirURLRequestJobFactory> job_factory_; member in content::FileSystemDirURLRequestJobTest
Dfile_system_url_request_job_unittest.cc180 job_factory_.reset(new FileSystemURLRequestJobFactory( in TestRequestHelper()
182 empty_context_.set_job_factory(job_factory_.get()); in TestRequestHelper()
246 scoped_ptr<FileSystemURLRequestJobFactory> job_factory_; member in content::FileSystemURLRequestJobTest
Dfile_writer_delegate_unittest.cc154 scoped_ptr<BlobURLRequestJobFactory> job_factory_; member in content::FileWriterDelegateTest
254 job_factory_.reset(new BlobURLRequestJobFactory(&content_)); in SetUp()
255 empty_context_.set_job_factory(job_factory_.get()); in SetUp()
/external/chromium_org/chrome/browser/custom_handlers/
Dprotocol_handler_registry.cc175 job_factory_ = job_factory.Pass(); in Chain()
189 return job_factory_->MaybeCreateJobWithProtocolHandler( in MaybeCreateJobWithProtocolHandler()
197 job_factory_->IsHandledProtocol(scheme); in IsHandledProtocol()
205 job_factory_->IsHandledURL(url); in IsHandledURL()
211 return job_factory_->IsSafeRedirectTarget(location); in IsSafeRedirectTarget()
Dprotocol_handler_registry.h126 scoped_ptr<URLRequestJobFactory> job_factory_;
/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()
356 net::URLRequestJobFactoryImpl job_factory_; member in content::ResourceLoaderTest
Dresource_dispatcher_host_unittest.cc726 job_factory_.reset(new TestURLRequestJobFactory(this)); in ResourceDispatcherHostTest()
727 request_context->set_job_factory(job_factory_.get()); in ResourceDispatcherHostTest()
840 job_factory_->HandleScheme(scheme); in HandleScheme()
875 scoped_ptr<TestURLRequestJobFactory> job_factory_; member in content::ResourceDispatcherHostTest
1348 EXPECT_EQ(0, job_factory_->url_request_jobs_created_count()); in TEST_F()
1357 job_factory_->SetDelayedStartJobGeneration(true); in TEST_F()
1375 job_factory_->SetNetworkStartNotificationJobGeneration(true); in TEST_F()
2088 job_factory_->SetDelayedCompleteJobGeneration(true); in TEST_F()
2123 job_factory_->SetDelayedCompleteJobGeneration(true); in TEST_F()
2601 job_factory_->SetDelayedCompleteJobGeneration(true); in TEST_F()
/external/chromium_org/sync/internal_api/
Dhttp_bridge.cc125 job_factory_(new net::URLRequestJobFactoryImpl()) { in RequestContext()
137 set_job_factory(job_factory_.get()); in RequestContext()
/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.h303 scoped_ptr<net::URLRequestJobFactory> job_factory_; variable

12