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) 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. | 6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. |
7 | 7 |
8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 case CachedResource::CSSStyleSheet: | 113 case CachedResource::CSSStyleSheet: |
114 return ResourceLoadPriorityHigh; | 114 return ResourceLoadPriorityHigh; |
115 case CachedResource::Script: | 115 case CachedResource::Script: |
116 case CachedResource::FontResource: | 116 case CachedResource::FontResource: |
117 case CachedResource::RawResource: | 117 case CachedResource::RawResource: |
118 return ResourceLoadPriorityMedium; | 118 return ResourceLoadPriorityMedium; |
119 case CachedResource::ImageResource: | 119 case CachedResource::ImageResource: |
120 return ResourceLoadPriorityLow; | 120 return ResourceLoadPriorityLow; |
121 case CachedResource::XSLStyleSheet: | 121 case CachedResource::XSLStyleSheet: |
122 return ResourceLoadPriorityHigh; | 122 return ResourceLoadPriorityHigh; |
| 123 case CachedResource::HTMLDocumentResource: |
| 124 return ResourceLoadPriorityHigh; |
123 case CachedResource::SVGDocumentResource: | 125 case CachedResource::SVGDocumentResource: |
124 return ResourceLoadPriorityLow; | 126 return ResourceLoadPriorityLow; |
125 case CachedResource::LinkPrefetch: | 127 case CachedResource::LinkPrefetch: |
126 return ResourceLoadPriorityVeryLow; | 128 return ResourceLoadPriorityVeryLow; |
127 case CachedResource::LinkSubresource: | 129 case CachedResource::LinkSubresource: |
128 return ResourceLoadPriorityVeryLow; | 130 return ResourceLoadPriorityVeryLow; |
129 case CachedResource::TextTrackResource: | 131 case CachedResource::TextTrackResource: |
130 return ResourceLoadPriorityLow; | 132 return ResourceLoadPriorityLow; |
131 case CachedResource::ShaderResource: | 133 case CachedResource::ShaderResource: |
132 return ResourceLoadPriorityMedium; | 134 return ResourceLoadPriorityMedium; |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 info.addMember(m_proxyResource, "proxyResource"); | 906 info.addMember(m_proxyResource, "proxyResource"); |
905 info.addMember(m_handlesToRevalidate, "handlesToRevalidate"); | 907 info.addMember(m_handlesToRevalidate, "handlesToRevalidate"); |
906 info.addMember(m_options, "options"); | 908 info.addMember(m_options, "options"); |
907 info.addMember(m_decodedDataDeletionTimer, "decodedDataDeletionTimer"); | 909 info.addMember(m_decodedDataDeletionTimer, "decodedDataDeletionTimer"); |
908 info.ignoreMember(m_clientsAwaitingCallback); | 910 info.ignoreMember(m_clientsAwaitingCallback); |
909 | 911 |
910 if (m_purgeableData && !m_purgeableData->wasPurged()) | 912 if (m_purgeableData && !m_purgeableData->wasPurged()) |
911 info.addRawBuffer(m_purgeableData.get(), m_purgeableData->size(), "Purge
ableData", "purgeableData"); | 913 info.addRawBuffer(m_purgeableData.get(), m_purgeableData->size(), "Purge
ableData", "purgeableData"); |
912 } | 914 } |
913 } | 915 } |
OLD | NEW |