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 CSSStyleSheetResource; | |
51 class DocumentResource; | 50 class DocumentResource; |
52 class FontResource; | |
53 class ImageResource; | 51 class ImageResource; |
54 class MHTMLArchive; | 52 class MHTMLArchive; |
55 class RawResource; | |
56 class ScriptResource; | |
57 class XSLStyleSheetResource; | |
58 class KURL; | 53 class KURL; |
59 class ResourceTimingInfo; | 54 class ResourceTimingInfo; |
60 | 55 |
61 // The ResourceFetcher provides a per-context interface to the MemoryCache and | 56 // The ResourceFetcher provides a per-context interface to the MemoryCache and |
62 // enforces a bunch of security checks and rules for resource revalidation. Its | 57 // enforces a bunch of security checks and rules for resource revalidation. Its |
63 // lifetime is roughly per-DocumentLoader, in that it is generally created in | 58 // lifetime is roughly per-DocumentLoader, in that it is generally created in |
64 // the DocumentLoader constructor and loses its ability to generate network | 59 // the DocumentLoader constructor and loses its ability to generate network |
65 // requests when the DocumentLoader is destroyed. Documents also hold a pointer | 60 // requests when the DocumentLoader is destroyed. Documents also hold a pointer |
66 // to ResourceFetcher for their lifetime (and will create one if they are | 61 // to ResourceFetcher for their lifetime (and will create one if they are |
67 // initialized without a LocalFrame), so a Document can keep a ResourceFetcher | 62 // initialized without a LocalFrame), so a Document can keep a ResourceFetcher |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 } | 284 } |
290 | 285 |
291 private: | 286 private: |
292 Member<ResourceFetcher> m_loader; | 287 Member<ResourceFetcher> m_loader; |
293 bool m_previousState; | 288 bool m_previousState; |
294 }; | 289 }; |
295 | 290 |
296 } // namespace blink | 291 } // namespace blink |
297 | 292 |
298 #endif // ResourceFetcher_h | 293 #endif // ResourceFetcher_h |
OLD | NEW |