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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 unsigned m_preloadCount; | 286 unsigned m_preloadCount; |
287 | 287 |
288 unsigned m_preloadResult : 2; // PreloadResult | 288 unsigned m_preloadResult : 2; // PreloadResult |
289 | 289 |
290 bool m_inLiveDecodedResourcesList : 1; | 290 bool m_inLiveDecodedResourcesList : 1; |
291 bool m_requestedFromNetworkingLayer : 1; | 291 bool m_requestedFromNetworkingLayer : 1; |
292 | 292 |
293 bool m_inCache : 1; | 293 bool m_inCache : 1; |
294 bool m_loading : 1; | 294 bool m_loading : 1; |
295 | 295 |
| 296 bool m_switchingClientsToRevalidatedResource : 1; |
| 297 |
296 unsigned m_type : 4; // Type | 298 unsigned m_type : 4; // Type |
297 unsigned m_status : 3; // Status | 299 unsigned m_status : 3; // Status |
298 | 300 |
299 #ifndef NDEBUG | 301 #ifndef NDEBUG |
300 bool m_deleted; | 302 bool m_deleted; |
301 unsigned m_lruIndex; | 303 unsigned m_lruIndex; |
302 #endif | 304 #endif |
303 | 305 |
304 CachedResource* m_nextInAllResourcesList; | 306 CachedResource* m_nextInAllResourcesList; |
305 CachedResource* m_prevInAllResourcesList; | 307 CachedResource* m_prevInAllResourcesList; |
(...skipping 12 matching lines...) Expand all Loading... |
318 // If this field is non-null, the resource has a proxy for checking whether
it is still up to date (see m_resourceToRevalidate). | 320 // If this field is non-null, the resource has a proxy for checking whether
it is still up to date (see m_resourceToRevalidate). |
319 CachedResource* m_proxyResource; | 321 CachedResource* m_proxyResource; |
320 | 322 |
321 // These handles will need to be updated to point to the m_resourceToRevalid
ate in case we get 304 response. | 323 // These handles will need to be updated to point to the m_resourceToRevalid
ate in case we get 304 response. |
322 HashSet<CachedResourceHandleBase*> m_handlesToRevalidate; | 324 HashSet<CachedResourceHandleBase*> m_handlesToRevalidate; |
323 }; | 325 }; |
324 | 326 |
325 } | 327 } |
326 | 328 |
327 #endif | 329 #endif |
OLD | NEW |