Home
last modified time | relevance | path

Searched refs:job_ (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/webkit/browser/appcache/
Dappcache_request_handler.cc51 if (job_.get()) { in MaybeLoadResource()
52 DCHECK(job_->is_delivering_network_response() || in MaybeLoadResource()
53 job_->cache_entry_not_found()); in MaybeLoadResource()
54 if (job_->cache_entry_not_found()) in MaybeLoadResource()
56 job_ = NULL; in MaybeLoadResource()
77 if (job_.get() && job_->is_delivering_network_response()) { in MaybeLoadResource()
78 DCHECK(!job_->has_been_started()); in MaybeLoadResource()
79 job_ = NULL; in MaybeLoadResource()
82 return job_.get(); in MaybeLoadResource()
100 DCHECK(!job_.get()); // our jobs never generate redirects in MaybeLoadFallbackForRedirect()
[all …]
Dappcache_request_handler_unittest.cc209 job_ = NULL; in TearDownTest()
260 job_ = handler_->MaybeLoadResource(request_.get(), in MainResource_Miss()
262 EXPECT_TRUE(job_.get()); in MainResource_Miss()
263 EXPECT_TRUE(job_->is_waiting()); in MainResource_Miss()
270 EXPECT_FALSE(job_->is_waiting()); in Verify_MainResource_Miss()
271 EXPECT_TRUE(job_->is_delivering_network_response()); in Verify_MainResource_Miss()
312 job_ = handler_->MaybeLoadResource(request_.get(), in MainResource_Hit()
314 EXPECT_TRUE(job_.get()); in MainResource_Hit()
315 EXPECT_TRUE(job_->is_waiting()); in MainResource_Hit()
322 EXPECT_FALSE(job_->is_waiting()); in Verify_MainResource_Hit()
[all …]
Dappcache_update_job.cc99 job_(job), in URLFetcher()
110 request_->set_first_party_for_cookies(job_->manifest_url_); in Start()
140 url_.GetOrigin() != job_->manifest_url_.GetOrigin()) { in OnResponseStarted()
152 response_writer_.reset(job_->CreateResponseWriter()); in OnResponseStarted()
226 InternalUpdateState state = job_->internal_state_; in ReadResponseData()
268 job_->HandleManifestFetchCompleted(this); in OnResponseCompleted()
271 job_->HandleUrlFetchCompleted(this); in OnResponseCompleted()
274 job_->HandleMasterEntryFetchCompleted(this); in OnResponseCompleted()
277 job_->HandleManifestRefetchCompleted(this); in OnResponseCompleted()
292 request_ = job_->service_->request_context()->CreateRequest( in MaybeRetryRequest()
Dappcache_request_handler.h136 scoped_refptr<AppCacheURLRequestJob> job_; variable
Dappcache_update_job.h139 AppCacheUpdateJob* job_; variable
/external/chromium/net/url_request/
Durl_request.cc141 if (job_) in ~URLRequest()
241 return job_ ? job_->GetLoadState() : LOAD_STATE_IDLE; in GetLoadState()
245 if (!job_) { in GetUploadProgress()
255 return job_->GetUploadProgress(); in GetUploadProgress()
259 DCHECK(job_); in GetResponseHeaderById()
282 DCHECK(job_); in GetSocketAddress()
283 return job_->GetSocketAddress(); in GetSocketAddress()
291 DCHECK(job_); in GetResponseCookies()
292 return job_->GetResponseCookies(cookies); in GetResponseCookies()
296 DCHECK(job_); in GetMimeType()
[all …]
Durl_request_http_job.cc110 URLRequestHttpJob* job_; member in net::URLRequestHttpJob::HttpFilterContext
116 : job_(job) { in HttpFilterContext()
117 DCHECK(job_); in HttpFilterContext()
125 return job_->GetMimeType(mime_type); in GetMimeType()
129 if (!job_->request()) in GetURL()
131 *gurl = job_->request()->url(); in GetURL()
136 return job_->request() ? job_->request()->request_time() : base::Time(); in GetRequestTime()
140 return job_->is_cached_content_; in IsCachedContent()
144 return (job_->request_info_.load_flags & LOAD_IS_DOWNLOAD) != 0; in IsDownload()
148 return job_->sdch_dictionary_advertised_; in IsSdchResponse()
[all …]
Durl_request.h567 URLRequestJob* job() { return job_; } in job()
629 scoped_refptr<URLRequestJob> job_; variable
/external/chromium_org/content/browser/renderer_host/
Dsocket_stream_host.cc54 job_->set_context(NULL); in ~SocketStreamHost()
55 job_->DetachDelegate(); in ~SocketStreamHost()
61 job_ = net::SocketStreamJob::CreateSocketStreamJob( in Connect()
64 job_->set_context(request_context); in Connect()
65 job_->SetUserData(kSocketIdKey, new SocketStreamId(socket_id_)); in Connect()
66 job_->Connect(); in Connect()
71 return job_.get() && job_->SendData(&data[0], data.size()); in SendData()
76 if (!job_.get()) in Close()
78 job_->Close(); in Close()
83 if (!job_.get()) in CancelWithError()
[all …]
Dsocket_stream_host.h72 scoped_refptr<net::SocketStreamJob> job_; variable
/external/chromium_org/net/url_request/
Durl_request.cc245 if (job_.get()) in ~URLRequest()
246 job_->NotifyURLRequestDestroyed(); in ~URLRequest()
249 if (job_.get()) in ~URLRequest()
343 if (!job_.get()) in GetFullRequestHeaders()
346 return job_->GetFullRequestHeaders(headers); in GetFullRequestHeaders()
358 return LoadStateWithParam(job_.get() ? job_->GetLoadState() : LOAD_STATE_IDLE, in GetLoadState()
442 if (!job_.get()) { in GetUploadProgress()
452 return job_->GetUploadProgress(); in GetUploadProgress()
456 DCHECK(job_.get()); in GetResponseHeaderById()
479 DCHECK(job_.get()); in GetSocketAddress()
[all …]
Durl_request_http_job.cc76 URLRequestHttpJob* job_; member in net::URLRequestHttpJob::HttpFilterContext
160 : job_(job) { in HttpFilterContext()
161 DCHECK(job_); in HttpFilterContext()
169 return job_->GetMimeType(mime_type); in GetMimeType()
173 if (!job_->request()) in GetURL()
175 *gurl = job_->request()->url(); in GetURL()
180 return job_->request() ? job_->request()->request_time() : base::Time(); in GetRequestTime()
184 return job_->is_cached_content_; in IsCachedContent()
188 return (job_->request_info_.load_flags & LOAD_IS_DOWNLOAD) != 0; in IsDownload()
192 DCHECK(job_->sdch_dictionary_advertised_); in ResetSdchResponseToFalse()
[all …]
/external/regex-re2/re2/
Dbitstate.cc66 Job *job_; // stack of text positions to explore member in re2::BitState
82 job_(NULL), in BitState()
89 delete[] job_; in ~BitState()
109 memmove(newjob, job_, njob_*sizeof job_[0]); in GrowStack()
110 delete[] job_; in GrowStack()
111 job_ = newjob; in GrowStack()
134 Job* j = &job_[njob_++]; in Push()
150 int id = job_[njob_].id; in TrySearch()
151 const char* p = job_[njob_].p; in TrySearch()
152 int arg = job_[njob_].arg; in TrySearch()
[all …]
/external/chromium_org/third_party/re2/re2/
Dbitstate.cc66 Job *job_; // stack of text positions to explore member in re2::BitState
82 job_(NULL), in BitState()
89 delete[] job_; in ~BitState()
109 memmove(newjob, job_, njob_*sizeof job_[0]); in GrowStack()
110 delete[] job_; in GrowStack()
111 job_ = newjob; in GrowStack()
134 Job* j = &job_[njob_++]; in Push()
150 int id = job_[njob_].id; in TrySearch()
151 const char* p = job_[njob_].p; in TrySearch()
152 int arg = job_[njob_].arg; in TrySearch()
[all …]
/external/chromium_org/chrome/browser/component_updater/
Dbackground_downloader_win.cc442 DCHECK(job_); in OnDownloading()
449 HRESULT hr = job_->GetState(&job_state); in OnDownloading()
510 GetJobByteCount(job_, &bytes_downloaded, &bytes_total); in EndDownload()
514 DCHECK(job_); in EndDownload()
516 GetFilesInJob(job_, &files); in EndDownload()
538 if (FAILED(error) && job_) { in EndDownload()
539 job_->Cancel(); in EndDownload()
540 CleanupJobFiles(job_); in EndDownload()
543 job_ = NULL; in EndDownload()
587 HRESULT hr = job_->Complete(); in OnStateTransferred()
[all …]
Dbackground_downloader_win.h76 base::win::ScopedComPtr<IBackgroundCopyJob> job_; variable
/external/chromium_org/content/browser/fileapi/
Dfile_system_url_request_job_unittest.cc106 ASSERT_TRUE(!job_); in TestRequestHelper()
107 job_ = new FileSystemURLRequestJob( in TestRequestHelper()
109 pending_job_ = job_; in TestRequestHelper()
163 DCHECK(job_); in FileSystemURLRequestJobFactory()
164 net::URLRequestJob* temp = job_; in FileSystemURLRequestJobFactory()
165 job_ = NULL; in FileSystemURLRequestJobFactory()
170 if (job_) { in ClearUnusedJob()
171 scoped_refptr<net::URLRequestJob> deleter = job_; in ClearUnusedJob()
172 job_ = NULL; in ClearUnusedJob()
190 static net::URLRequestJob* job_; member in fileapi::FileSystemURLRequestJobTest
[all …]
Dfile_system_dir_url_request_job_unittest.cc88 job_ = new FileSystemDirURLRequestJob( in TestRequestHelper()
196 DCHECK(job_); in FileSystemDirURLRequestJobFactory()
197 net::URLRequestJob* temp = job_; in FileSystemDirURLRequestJobFactory()
198 job_ = NULL; in FileSystemDirURLRequestJobFactory()
203 if (job_) { in ClearUnusedJob()
204 scoped_refptr<net::URLRequestJob> deleter = job_; in ClearUnusedJob()
205 job_ = NULL; in ClearUnusedJob()
226 static net::URLRequestJob* job_; member in fileapi::FileSystemDirURLRequestJobTest
230 net::URLRequestJob* FileSystemDirURLRequestJobTest::job_ = NULL; member in fileapi::FileSystemDirURLRequestJobTest
/external/chromium_org/remoting/host/win/
Dwts_session_process_delegate.cc121 base::win::ScopedHandle job_; member in remoting::WtsSessionProcessDelegate::Core
263 if (job_.IsValid()) in KillProcess()
264 TerminateJobObject(job_, CONTROL_C_EXIT); in KillProcess()
354 if (!job_.IsValid()) { in DoLaunchProcess()
410 if (!AssignProcessToJobObject(job_, worker_process)) { in DoLaunchProcess()
447 if (job_.IsValid()) { in DrainJobNotificationsCompleted()
448 job_.Close(); in DrainJobNotificationsCompleted()
476 DCHECK(!job_.IsValid()); in InitializeJobCompleted()
478 job_ = job->Pass(); in InitializeJobCompleted()
/external/chromium_org/sandbox/win/src/
Dtarget_process.cc74 job_(job), in TargetProcess()
128 if (job_ && base::win::GetVersion() < base::win::VERSION_WIN8) { in Create()
153 if (job_) { in Create()
155 if (!::AssignProcessToJobObject(job_, process_info.process_handle())) { in Create()
310 job_, thread_pool_, ipc_dispatcher)); in Init()
Dtarget_process.h69 return job_; in Job()
108 HANDLE job_; variable
/external/chromium_org/chrome_frame/test/net/
Dtest_automation_resource_message_filter.h48 scoped_refptr<URLRequestAutomationJob> job_; member
Dtest_automation_resource_message_filter.cc53 base::Bind(OnRequestMessage, job.job_, msg)); in OnMessageReceived()
/external/chromium/net/base/
Dhost_resolver_impl.cc261 job_(NULL), in Request()
268 job_ = NULL; in MarkAsCancelled()
280 job_ = job; in set_job()
296 return job_; in job()
326 Job* job_; member in net::HostResolverImpl::Request
/external/chromium_org/v8/src/
Dcompiler.h568 : job_(job), location_(location) { in Timer()
577 RecompileJob* job_; member

12