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) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
5 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 5 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ |
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
199 | 199 |
200 void garbageCollectDocumentResourcesTimerFired(Timer<ResourceFetcher>*); | 200 void garbageCollectDocumentResourcesTimerFired(Timer<ResourceFetcher>*); |
201 void scheduleDocumentResourcesGC(); | 201 void scheduleDocumentResourcesGC(); |
202 | 202 |
203 void resourceTimingReportTimerFired(Timer<ResourceFetcher>*); | 203 void resourceTimingReportTimerFired(Timer<ResourceFetcher>*); |
204 | 204 |
205 bool clientDefersImage(const KURL&) const; | 205 bool clientDefersImage(const KURL&) const; |
206 void reloadImagesIfNotDeferred(); | 206 void reloadImagesIfNotDeferred(); |
207 | 207 |
208 HashSet<String> m_validatedURLs; | 208 HashSet<String> m_validatedURLs; |
209 Deque<String> m_validatedURLsRingBuffer; | |
kouhei (in TOK)
2014/11/14 09:15:57
My bad. I didn't notice m_validatedURLs was a Hash
| |
209 mutable DocumentResourceMap m_documentResources; | 210 mutable DocumentResourceMap m_documentResources; |
210 // FIXME: Oilpan: Ideally this should just be a traced Member but that will | 211 // FIXME: Oilpan: Ideally this should just be a traced Member but that will |
211 // currently leak because RenderStyle and its data are not on the heap. | 212 // currently leak because RenderStyle and its data are not on the heap. |
212 // See crbug.com/383860 for details. | 213 // See crbug.com/383860 for details. |
213 RawPtrWillBeWeakMember<Document> m_document; | 214 RawPtrWillBeWeakMember<Document> m_document; |
214 DocumentLoader* m_documentLoader; | 215 DocumentLoader* m_documentLoader; |
215 | 216 |
216 int m_requestCount; | 217 int m_requestCount; |
217 | 218 |
218 OwnPtr<ListHashSet<Resource*>> m_preloads; | 219 OwnPtr<ListHashSet<Resource*>> m_preloads; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
268 m_loader->m_allowStaleResources = m_previousState; | 269 m_loader->m_allowStaleResources = m_previousState; |
269 } | 270 } |
270 private: | 271 private: |
271 ResourceFetcher* m_loader; | 272 ResourceFetcher* m_loader; |
272 bool m_previousState; | 273 bool m_previousState; |
273 }; | 274 }; |
274 | 275 |
275 } // namespace blink | 276 } // namespace blink |
276 | 277 |
277 #endif | 278 #endif |
OLD | NEW |