Lines Matching refs:host_
18 : host_(host),
26 DCHECK(host_);
27 host_->AddObserver(this);
31 if (host_) {
33 host_->RemoveObserver(this);
38 DCHECK(host_);
39 return host_->storage();
45 if (!host_ || !IsSchemeAndMethodSupportedForAppCache(request) ||
94 if (!host_ || !IsSchemeAndMethodSupportedForAppCache(request) ||
112 storage(), host_, is_main_resource());
119 storage(), host_, is_main_resource());
130 if (!host_ || !IsSchemeAndMethodSupportedForAppCache(request) ||
166 storage(), host_, is_main_resource());
182 if (!host_)
184 AppCacheBackendImpl* backend = host_->service()->GetBackend(old_process_id);
185 host_for_cross_site_transfer_ = backend->TransferHostOut(host_->host_id());
186 DCHECK_EQ(host_, host_for_cross_site_transfer_.get());
193 DCHECK_EQ(host_, host_for_cross_site_transfer_.get());
194 AppCacheBackendImpl* backend = host_->service()->GetBackend(new_process_id);
200 host_ = NULL; // no need to RemoveObserver, the host is being deleted
214 DCHECK(host_ && job_.get() && job_->is_waiting());
218 host_->NotifyMainResourceIsNamespaceEntry(namespace_entry_url);
239 DCHECK(host_);
243 host_ : host_->GetSpawningHost();
250 storage(), host_, is_main_resource());
260 DCHECK(host_);
269 AppCachePolicy* policy = host_->service()->appcache_policy();
271 !policy->CanLoadAppCache(manifest_url, host_->first_party_url());
275 host_->NotifyMainResourceBlocked(manifest_url);
278 host_->frontend()->OnContentBlocked(host_->host_id(), manifest_url);
289 host_->LoadMainResourceCache(cache_id);
290 host_->set_preferred_manifest_url(manifest_url);
319 if (host_->is_selection_pending()) {
324 storage(), host_, is_main_resource());
328 if (!host_->associated_cache() ||
329 !host_->associated_cache()->is_complete() ||
330 host_->associated_cache()->owning_group()->is_being_deleted()) {
335 storage(), host_, is_main_resource());
344 DCHECK(host_->associated_cache() && host_->associated_cache()->is_complete());
347 AppCache* cache = host_->associated_cache();
349 host_->associated_cache(), url,
389 DCHECK(host == host_);
397 if (!host_->associated_cache() ||
398 !host_->associated_cache()->is_complete()) {