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 | 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
5 rights reserved. | 5 rights reserved. |
6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ |
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 29 matching lines...) Expand all Loading... |
40 #include "platform/network/ResourceLoadPriority.h" | 40 #include "platform/network/ResourceLoadPriority.h" |
41 #include "wtf/HashMap.h" | 41 #include "wtf/HashMap.h" |
42 #include "wtf/HashSet.h" | 42 #include "wtf/HashSet.h" |
43 #include "wtf/ListHashSet.h" | 43 #include "wtf/ListHashSet.h" |
44 #include "wtf/text/StringHash.h" | 44 #include "wtf/text/StringHash.h" |
45 #include <memory> | 45 #include <memory> |
46 | 46 |
47 namespace blink { | 47 namespace blink { |
48 | 48 |
49 class ArchiveResource; | 49 class ArchiveResource; |
50 class DocumentResource; | |
51 class ImageResource; | |
52 class MHTMLArchive; | 50 class MHTMLArchive; |
53 class KURL; | 51 class KURL; |
54 class ResourceTimingInfo; | 52 class ResourceTimingInfo; |
55 | 53 |
56 // The ResourceFetcher provides a per-context interface to the MemoryCache and | 54 // The ResourceFetcher provides a per-context interface to the MemoryCache and |
57 // enforces a bunch of security checks and rules for resource revalidation. Its | 55 // enforces a bunch of security checks and rules for resource revalidation. Its |
58 // lifetime is roughly per-DocumentLoader, in that it is generally created in | 56 // lifetime is roughly per-DocumentLoader, in that it is generally created in |
59 // the DocumentLoader constructor and loses its ability to generate network | 57 // the DocumentLoader constructor and loses its ability to generate network |
60 // requests when the DocumentLoader is destroyed. Documents also hold a pointer | 58 // requests when the DocumentLoader is destroyed. Documents also hold a pointer |
61 // to ResourceFetcher for their lifetime (and will create one if they are | 59 // to ResourceFetcher for their lifetime (and will create one if they are |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 } | 276 } |
279 | 277 |
280 private: | 278 private: |
281 Member<ResourceFetcher> m_loader; | 279 Member<ResourceFetcher> m_loader; |
282 bool m_previousState; | 280 bool m_previousState; |
283 }; | 281 }; |
284 | 282 |
285 } // namespace blink | 283 } // namespace blink |
286 | 284 |
287 #endif // ResourceFetcher_h | 285 #endif // ResourceFetcher_h |
OLD | NEW |