Home
last modified time | relevance | path

Searched refs:has_response_id (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/webkit/browser/appcache/
Dappcache_request_handler.cc102 if (found_fallback_entry_.has_response_id()) { in MaybeLoadFallbackForRedirect()
126 if (!found_fallback_entry_.has_response_id()) in MaybeLoadFallbackForResponse()
208 DCHECK(entry.has_response_id()); in DeliverAppCachedResponse()
257 DCHECK(!(entry.has_response_id() && fallback_entry.has_response_id())); in OnMainResponseFound()
296 if (found_entry_.has_response_id()) { in OnMainResponseFound()
297 DCHECK(!found_fallback_entry_.has_response_id()); in OnMainResponseFound()
344 if (found_entry_.has_response_id()) { in ContinueMaybeLoadSubResource()
347 !found_fallback_entry_.has_response_id()); in ContinueMaybeLoadSubResource()
357 if (found_fallback_entry_.has_response_id()) { in ContinueMaybeLoadSubResource()
361 !found_entry_.has_response_id()); in ContinueMaybeLoadSubResource()
[all …]
Dappcache_unittest.cc239 EXPECT_FALSE(fallback_entry.has_response_id()); in TEST()
250 EXPECT_FALSE(fallback_entry.has_response_id()); in TEST()
260 EXPECT_FALSE(entry.has_response_id()); in TEST()
261 EXPECT_FALSE(fallback_entry.has_response_id()); in TEST()
272 EXPECT_FALSE(fallback_entry.has_response_id()); in TEST()
282 EXPECT_FALSE(entry.has_response_id()); in TEST()
295 EXPECT_FALSE(entry.has_response_id()); in TEST()
308 EXPECT_FALSE(entry.has_response_id()); in TEST()
309 EXPECT_FALSE(fallback_entry.has_response_id()); in TEST()
320 EXPECT_FALSE(entry.has_response_id()); in TEST()
[all …]
Dmock_appcache_storage.cc259 DCHECK(entry.has_response_id()); in MaybeTakeNewNamespaceEntry()
264 if (best_candidate->entry.has_response_id()) { in MaybeTakeNewNamespaceEntry()
354 (found_entry.has_response_id() && found_entry.IsForeign()) || in ProcessFindResponseForMainRequest()
355 (found_fallback_entry.has_response_id() && in ProcessFindResponseForMainRequest()
363 if (found_entry.has_response_id() && in ProcessFindResponseForMainRequest()
373 } else if (found_entry.has_response_id() && in ProcessFindResponseForMainRequest()
381 DCHECK(found_fallback_entry.has_response_id()); in ProcessFindResponseForMainRequest()
391 if (found_candidate.entry.has_response_id()) { in ProcessFindResponseForMainRequest()
400 if (found_fallback_candidate.entry.has_response_id()) { in ProcessFindResponseForMainRequest()
Dappcache_entry.h54 bool has_response_id() const { return response_id_ != kNoResponseId; } in has_response_id() function
Dappcache_storage_impl_unittest.cc1007 EXPECT_FALSE(delegate()->found_fallback_entry_.has_response_id()); in Verify_BasicFindMainResponse()
1076 EXPECT_FALSE(delegate()->found_entry_.has_response_id()); in Verify_BasicFindMainFallbackResponse()
1154 EXPECT_FALSE(delegate()->found_fallback_entry_.has_response_id()); in Verify_BasicFindMainInterceptResponse()
1240 EXPECT_FALSE(delegate()->found_fallback_entry_.has_response_id()); in Verify_FindInterceptPatternMatchPositive()
1326 EXPECT_FALSE(delegate()->found_entry_.has_response_id()); in Verify_FindFallbackPatternMatchPositive()
1400 EXPECT_FALSE(delegate()->found_fallback_entry_.has_response_id()); in Verify_FindMainResponseWithMultipleHits()
1418 EXPECT_FALSE(delegate()->found_fallback_entry_.has_response_id()); in Verify_FindMainResponseWithMultipleHits2()
1436 EXPECT_FALSE(delegate()->found_fallback_entry_.has_response_id()); in Verify_FindMainResponseWithMultipleHits3()
1453 EXPECT_FALSE(delegate()->found_entry_.has_response_id()); in Verify_FindMainResponseWithMultipleHits4()
1474 EXPECT_FALSE(delegate()->found_entry_.has_response_id()); in Verify_FindMainResponseWithMultipleHits5()
Dappcache_service.cc124 bool can = (entry.has_response_id() || fallback_entry.has_response_id()); in OnMainResponseFound()
Dmock_appcache_storage_unittest.cc450 EXPECT_FALSE(delegate.found_fallback_entry_.has_response_id()); in TEST_F()
505 EXPECT_FALSE(delegate.found_entry_.has_response_id()); in TEST_F()
564 EXPECT_FALSE(delegate.found_fallback_entry_.has_response_id()); in TEST_F()
Dappcache_url_request_job.cc52 DCHECK(entry.has_response_id()); in DeliverAppCachedResponse()
Dappcache_update_job.cc576 if (response_code == 304 && fetcher->existing_entry().has_response_id()) { in HandleUrlFetchCompleted()
591 fetcher->existing_entry().has_response_id()) { in HandleUrlFetchCompleted()
1157 if (!copy_me || !copy_me->has_response_id()) in MaybeLoadFromNewestCache()
Dappcache_url_request_job_unittest.cc396 EXPECT_FALSE(job->entry().has_response_id()); in Basic()
Dappcache_update_job_unittest.cc3322 EXPECT_TRUE(entry->has_response_id()); in VerifyEmptyFileManifest()
3342 EXPECT_TRUE(entry->has_response_id()); in VerifyMasterEntryNoUpdate()
3348 EXPECT_TRUE(entry->has_response_id()); in VerifyMasterEntryNoUpdate()