| 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) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. | 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. |
| 6 | 6 |
| 7 This library is free software; you can redistribute it and/or | 7 This library is free software; you can redistribute it and/or |
| 8 modify it under the terms of the GNU Library General Public | 8 modify it under the terms of the GNU Library General Public |
| 9 License as published by the Free Software Foundation; either | 9 License as published by the Free Software Foundation; either |
| 10 version 2 of the License, or (at your option) any later version. | 10 version 2 of the License, or (at your option) any later version. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 #if ENABLE(XSLT) | 75 #if ENABLE(XSLT) |
| 76 , XSLStyleSheet | 76 , XSLStyleSheet |
| 77 #endif | 77 #endif |
| 78 #if ENABLE(LINK_PREFETCH) | 78 #if ENABLE(LINK_PREFETCH) |
| 79 , LinkPrefetch | 79 , LinkPrefetch |
| 80 , LinkSubresource | 80 , LinkSubresource |
| 81 #endif | 81 #endif |
| 82 #if ENABLE(VIDEO_TRACK) | 82 #if ENABLE(VIDEO_TRACK) |
| 83 , TextTrackResource | 83 , TextTrackResource |
| 84 #endif | 84 #endif |
| 85 #if ENABLE(CSS_SHADERS) | |
| 86 , ShaderResource | 85 , ShaderResource |
| 87 #endif | |
| 88 }; | 86 }; |
| 89 | 87 |
| 90 enum Status { | 88 enum Status { |
| 91 Unknown, // let cache decide what to do with it | 89 Unknown, // let cache decide what to do with it |
| 92 Pending, // only partially loaded | 90 Pending, // only partially loaded |
| 93 Cached, // regular case | 91 Cached, // regular case |
| 94 LoadError, | 92 LoadError, |
| 95 DecodeError | 93 DecodeError |
| 96 }; | 94 }; |
| 97 | 95 |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 // If this field is non-null, the resource has a proxy for checking whether
it is still up to date (see m_resourceToRevalidate). | 365 // If this field is non-null, the resource has a proxy for checking whether
it is still up to date (see m_resourceToRevalidate). |
| 368 CachedResource* m_proxyResource; | 366 CachedResource* m_proxyResource; |
| 369 | 367 |
| 370 // These handles will need to be updated to point to the m_resourceToRevalid
ate in case we get 304 response. | 368 // These handles will need to be updated to point to the m_resourceToRevalid
ate in case we get 304 response. |
| 371 HashSet<CachedResourceHandleBase*> m_handlesToRevalidate; | 369 HashSet<CachedResourceHandleBase*> m_handlesToRevalidate; |
| 372 }; | 370 }; |
| 373 | 371 |
| 374 } | 372 } |
| 375 | 373 |
| 376 #endif | 374 #endif |
| OLD | NEW |