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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 class ApplicationCacheHost; | 57 class ApplicationCacheHost; |
58 class ResourceFetcher; | 58 class ResourceFetcher; |
59 class DocumentInit; | 59 class DocumentInit; |
60 class LocalFrame; | 60 class LocalFrame; |
61 class FrameLoader; | 61 class FrameLoader; |
62 class ResourceLoader; | 62 class ResourceLoader; |
63 class WebDocumentSubresourceFilter; | 63 class WebDocumentSubresourceFilter; |
64 struct ViewportDescriptionWrapper; | 64 struct ViewportDescriptionWrapper; |
65 | 65 |
66 class CORE_EXPORT DocumentLoader : public GarbageCollectedFinalized<DocumentLoad
er>, private RawResourceClient { | 66 class CORE_EXPORT DocumentLoader : public GarbageCollectedFinalized<DocumentLoad
er>, private RawResourceClient { |
| 67 USING_GARBAGE_COLLECTED_MIXIN(DocumentLoader); |
67 public: | 68 public: |
68 static DocumentLoader* create(LocalFrame* frame, const ResourceRequest& requ
est, const SubstituteData& data) | 69 static DocumentLoader* create(LocalFrame* frame, const ResourceRequest& requ
est, const SubstituteData& data) |
69 { | 70 { |
70 return new DocumentLoader(frame, request, data); | 71 return new DocumentLoader(frame, request, data); |
71 } | 72 } |
72 ~DocumentLoader() override; | 73 ~DocumentLoader() override; |
73 | 74 |
74 LocalFrame* frame() const { return m_frame; } | 75 LocalFrame* frame() const { return m_frame; } |
75 | 76 |
76 virtual void detachFromFrame(); | 77 virtual void detachFromFrame(); |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 // Used to protect against reentrancy into dataReceived(). | 242 // Used to protect against reentrancy into dataReceived(). |
242 bool m_inDataReceived; | 243 bool m_inDataReceived; |
243 RefPtr<SharedBuffer> m_dataBuffer; | 244 RefPtr<SharedBuffer> m_dataBuffer; |
244 }; | 245 }; |
245 | 246 |
246 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 247 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
247 | 248 |
248 } // namespace blink | 249 } // namespace blink |
249 | 250 |
250 #endif // DocumentLoader_h | 251 #endif // DocumentLoader_h |
OLD | NEW |