Lines Matching refs:job_
123 MockURLRequestJobFactory() : job_(NULL) {
127 DCHECK(!job_);
131 job_ = job;
138 if (job_) {
139 net::URLRequestJob* temp = job_;
140 job_ = NULL;
164 mutable net::URLRequestJob* job_;
210 job_ = NULL;
263 job_ = handler_->MaybeLoadResource(request_.get(),
265 EXPECT_TRUE(job_.get());
266 EXPECT_TRUE(job_->is_waiting());
273 EXPECT_FALSE(job_->is_waiting());
274 EXPECT_TRUE(job_->is_delivering_network_response());
316 job_ = handler_->MaybeLoadResource(request_.get(),
318 EXPECT_TRUE(job_.get());
319 EXPECT_TRUE(job_->is_waiting());
326 EXPECT_FALSE(job_->is_waiting());
327 EXPECT_TRUE(job_->is_delivering_appcache_response());
366 job_ = handler_->MaybeLoadResource(request_.get(),
368 EXPECT_TRUE(job_.get());
369 EXPECT_TRUE(job_->is_waiting());
396 EXPECT_FALSE(job_->is_waiting());
397 EXPECT_TRUE(job_->is_delivering_network_response());
402 job_ = handler_->MaybeLoadResource(request_.get(),
404 EXPECT_FALSE(job_.get());
409 job_ = handler_->MaybeLoadFallbackForResponse(
411 EXPECT_TRUE(job_.get());
412 EXPECT_TRUE(job_->is_delivering_appcache_response());
448 job_ = handler_->MaybeLoadResource(request_.get(),
450 EXPECT_TRUE(job_.get());
451 EXPECT_TRUE(job_->is_waiting());
458 EXPECT_FALSE(job_->is_waiting());
459 EXPECT_TRUE(job_->is_delivering_network_response());
464 job_ = handler_->MaybeLoadResource(request_.get(),
466 EXPECT_FALSE(job_.get());
479 job_ = handler_->MaybeLoadFallbackForResponse(
481 EXPECT_FALSE(job_.get());
514 job_ = handler_->MaybeLoadResource(request_.get(),
516 EXPECT_TRUE(job_.get());
517 EXPECT_TRUE(job_->is_delivering_error_response());
545 job_ = handler_->MaybeLoadResource(request_.get(),
547 EXPECT_TRUE(job_.get());
548 EXPECT_TRUE(job_->is_waiting());
551 EXPECT_FALSE(job_->is_waiting());
552 EXPECT_TRUE(job_->is_delivering_error_response());
580 job_ = handler_->MaybeLoadResource(request_.get(),
582 EXPECT_TRUE(job_.get());
583 EXPECT_TRUE(job_->is_delivering_appcache_response());
613 job_ = handler_->MaybeLoadResource(request_.get(),
615 EXPECT_FALSE(job_.get());
617 job_ = handler_->MaybeLoadFallbackForRedirect(
621 EXPECT_TRUE(job_.get());
622 EXPECT_TRUE(job_->is_delivering_appcache_response());
647 job_ = handler_->MaybeLoadResource(request_.get(),
649 EXPECT_FALSE(job_.get());
682 job_ = handler_->MaybeLoadResource(request_.get(),
684 EXPECT_FALSE(job_.get());
740 job_ = handler_->MaybeLoadResource(request_.get(),
742 EXPECT_TRUE(job_.get());
743 EXPECT_TRUE(job_->is_waiting());
747 EXPECT_TRUE(job_->has_been_killed());
794 job_ = handler_->MaybeLoadResource(request_.get(),
796 EXPECT_TRUE(job_.get());
797 EXPECT_TRUE(job_->is_waiting());
798 EXPECT_FALSE(job_->has_been_started());
800 job_factory_->SetJob(job_.get());
802 EXPECT_TRUE(job_->has_been_started());
805 EXPECT_TRUE(job_->has_been_killed());
875 job_ = handler_->MaybeLoadResource(request_.get(),
877 EXPECT_TRUE(job_.get());
878 EXPECT_TRUE(job_->is_waiting());
885 EXPECT_FALSE(job_->is_waiting());
886 EXPECT_FALSE(job_->is_delivering_appcache_response());
929 scoped_refptr<AppCacheURLRequestJob> job_;