| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2     Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2     Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 
| 3     Copyright (C) 2001 Dirk Mueller (mueller@kde.org) | 3     Copyright (C) 2001 Dirk Mueller (mueller@kde.org) | 
| 4     Copyright (C) 2002 Waldo Bastian (bastian@kde.org) | 4     Copyright (C) 2002 Waldo Bastian (bastian@kde.org) | 
| 5     Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 5     Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 
| 6     rights reserved. | 6     rights reserved. | 
| 7     Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 7     Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 
| 8 | 8 | 
| 9     This library is free software; you can redistribute it and/or | 9     This library is free software; you can redistribute it and/or | 
| 10     modify it under the terms of the GNU Library General Public | 10     modify it under the terms of the GNU Library General Public | 
| (...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 880       existingResource->response().serviceWorkerResponseType() == | 880       existingResource->response().serviceWorkerResponseType() == | 
| 881           WebServiceWorkerResponseTypeOpaque && | 881           WebServiceWorkerResponseTypeOpaque && | 
| 882       request.fetchRequestMode() != WebURLRequest::FetchRequestModeNoCORS) { | 882       request.fetchRequestMode() != WebURLRequest::FetchRequestModeNoCORS) { | 
| 883     return Reload; | 883     return Reload; | 
| 884   } | 884   } | 
| 885 | 885 | 
| 886   // If resource was populated from a SubstituteData load or data: url, use it. | 886   // If resource was populated from a SubstituteData load or data: url, use it. | 
| 887   if (isStaticData) | 887   if (isStaticData) | 
| 888     return Use; | 888     return Use; | 
| 889 | 889 | 
| 890   if (!existingResource->canReuse(request)) | 890   if (!existingResource->canReuse(fetchRequest)) | 
| 891     return Reload; | 891     return Reload; | 
| 892 | 892 | 
| 893   // Certain requests (e.g., XHRs) might have manually set headers that require | 893   // Certain requests (e.g., XHRs) might have manually set headers that require | 
| 894   // revalidation. In theory, this should be a Revalidate case. In practice, the | 894   // revalidation. In theory, this should be a Revalidate case. In practice, the | 
| 895   // MemoryCache revalidation path assumes a whole bunch of things about how | 895   // MemoryCache revalidation path assumes a whole bunch of things about how | 
| 896   // revalidation works that manual headers violate, so punt to Reload instead. | 896   // revalidation works that manual headers violate, so punt to Reload instead. | 
| 897   // | 897   // | 
| 898   // Similarly, a request with manually added revalidation headers can lead to a | 898   // Similarly, a request with manually added revalidation headers can lead to a | 
| 899   // 304 response for a request that wasn't flagged as a revalidation attempt. | 899   // 304 response for a request that wasn't flagged as a revalidation attempt. | 
| 900   // Normally, successful revalidation will maintain the original response's | 900   // Normally, successful revalidation will maintain the original response's | 
| (...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1552   visitor->trace(m_context); | 1552   visitor->trace(m_context); | 
| 1553   visitor->trace(m_archive); | 1553   visitor->trace(m_archive); | 
| 1554   visitor->trace(m_loaders); | 1554   visitor->trace(m_loaders); | 
| 1555   visitor->trace(m_nonBlockingLoaders); | 1555   visitor->trace(m_nonBlockingLoaders); | 
| 1556   visitor->trace(m_documentResources); | 1556   visitor->trace(m_documentResources); | 
| 1557   visitor->trace(m_preloads); | 1557   visitor->trace(m_preloads); | 
| 1558   visitor->trace(m_resourceTimingInfoMap); | 1558   visitor->trace(m_resourceTimingInfoMap); | 
| 1559 } | 1559 } | 
| 1560 | 1560 | 
| 1561 }  // namespace blink | 1561 }  // namespace blink | 
| OLD | NEW | 
|---|