| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 friend class InspectorResource; | 61 friend class InspectorResource; |
| 62 | 62 |
| 63 public: | 63 public: |
| 64 enum Type { | 64 enum Type { |
| 65 MainResource, | 65 MainResource, |
| 66 ImageResource, | 66 ImageResource, |
| 67 CSSStyleSheet, | 67 CSSStyleSheet, |
| 68 Script, | 68 Script, |
| 69 FontResource, | 69 FontResource, |
| 70 RawResource, | 70 RawResource, |
| 71 HTMLDocumentResource, |
| 71 SVGDocumentResource, | 72 SVGDocumentResource, |
| 72 XSLStyleSheet, | 73 XSLStyleSheet, |
| 73 LinkPrefetch, | 74 LinkPrefetch, |
| 74 LinkSubresource, | 75 LinkSubresource, |
| 75 TextTrackResource, | 76 TextTrackResource, |
| 76 ShaderResource | 77 ShaderResource |
| 77 }; | 78 }; |
| 78 | 79 |
| 79 enum Status { | 80 enum Status { |
| 80 Unknown, // let cache decide what to do with it | 81 Unknown, // let cache decide what to do with it |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 // If this field is non-null, the resource has a proxy for checking whether
it is still up to date (see m_resourceToRevalidate). | 350 // If this field is non-null, the resource has a proxy for checking whether
it is still up to date (see m_resourceToRevalidate). |
| 350 CachedResource* m_proxyResource; | 351 CachedResource* m_proxyResource; |
| 351 | 352 |
| 352 // These handles will need to be updated to point to the m_resourceToRevalid
ate in case we get 304 response. | 353 // These handles will need to be updated to point to the m_resourceToRevalid
ate in case we get 304 response. |
| 353 HashSet<CachedResourceHandleBase*> m_handlesToRevalidate; | 354 HashSet<CachedResourceHandleBase*> m_handlesToRevalidate; |
| 354 }; | 355 }; |
| 355 | 356 |
| 356 } | 357 } |
| 357 | 358 |
| 358 #endif | 359 #endif |
| OLD | NEW |