OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "platform/network/ResourceError.h" | 41 #include "platform/network/ResourceError.h" |
42 #include "platform/network/ResourceRequest.h" | 42 #include "platform/network/ResourceRequest.h" |
43 #include "platform/network/ResourceResponse.h" | 43 #include "platform/network/ResourceResponse.h" |
44 #include "wtf/HashSet.h" | 44 #include "wtf/HashSet.h" |
45 #include "wtf/RefPtr.h" | 45 #include "wtf/RefPtr.h" |
46 | 46 |
47 namespace blink { | 47 namespace blink { |
48 class WebThreadedDataReceiver; | 48 class WebThreadedDataReceiver; |
49 } | 49 } |
50 | 50 |
51 namespace WTF { | |
52 class SchedulePair; | |
53 } | |
54 | |
55 namespace blink { | 51 namespace blink { |
56 class ApplicationCacheHost; | 52 class ApplicationCacheHost; |
57 class ArchiveResource; | |
58 class ArchiveResourceCollection; | 53 class ArchiveResourceCollection; |
59 class ResourceFetcher; | 54 class ResourceFetcher; |
60 class ContentFilter; | |
61 class DocumentInit; | 55 class DocumentInit; |
62 class FormState; | |
63 class LocalFrame; | 56 class LocalFrame; |
64 class FrameLoader; | 57 class FrameLoader; |
65 class MHTMLArchive; | 58 class MHTMLArchive; |
66 class Page; | |
67 class ResourceLoader; | 59 class ResourceLoader; |
68 class SharedBuffer; | |
69 | 60 |
70 class DocumentLoader : public RefCounted<DocumentLoader>, private RawResourc
eClient { | 61 class DocumentLoader : public RefCounted<DocumentLoader>, private RawResourc
eClient { |
71 WTF_MAKE_FAST_ALLOCATED; | 62 WTF_MAKE_FAST_ALLOCATED; |
72 public: | 63 public: |
73 static PassRefPtr<DocumentLoader> create(LocalFrame* frame, const Resour
ceRequest& request, const SubstituteData& data) | 64 static PassRefPtr<DocumentLoader> create(LocalFrame* frame, const Resour
ceRequest& request, const SubstituteData& data) |
74 { | 65 { |
75 return adoptRef(new DocumentLoader(frame, request, data)); | 66 return adoptRef(new DocumentLoader(frame, request, data)); |
76 } | 67 } |
77 virtual ~DocumentLoader(); | 68 virtual ~DocumentLoader(); |
78 | 69 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 double m_timeOfLastDataReceived; | 214 double m_timeOfLastDataReceived; |
224 | 215 |
225 friend class ApplicationCacheHost; // for substitute resource delivery | 216 friend class ApplicationCacheHost; // for substitute resource delivery |
226 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; | 217 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; |
227 | 218 |
228 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; | 219 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |
229 }; | 220 }; |
230 } | 221 } |
231 | 222 |
232 #endif // DocumentLoader_h | 223 #endif // DocumentLoader_h |
OLD | NEW |