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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 Resource* startPreload(Resource::Type, FetchRequest&); | 183 Resource* startPreload(Resource::Type, FetchRequest&); |
184 | 184 |
185 DECLARE_VIRTUAL_TRACE(); | 185 DECLARE_VIRTUAL_TRACE(); |
186 | 186 |
187 protected: | 187 protected: |
188 DocumentLoader(LocalFrame*, | 188 DocumentLoader(LocalFrame*, |
189 const ResourceRequest&, | 189 const ResourceRequest&, |
190 const SubstituteData&, | 190 const SubstituteData&, |
191 ClientRedirectPolicy); | 191 ClientRedirectPolicy); |
192 | 192 |
193 void didRedirect(const KURL& oldURL, const KURL& newURL); | |
194 | |
195 Vector<KURL> m_redirectChain; | 193 Vector<KURL> m_redirectChain; |
196 | 194 |
197 private: | 195 private: |
198 static DocumentWriter* createWriterFor(const DocumentInit&, | 196 static DocumentWriter* createWriterFor(const DocumentInit&, |
199 const AtomicString& mimeType, | 197 const AtomicString& mimeType, |
200 const AtomicString& encoding, | 198 const AtomicString& encoding, |
201 bool dispatchWindowObjectAvailable, | 199 bool dispatchWindowObjectAvailable, |
202 ParserSynchronizationPolicy, | 200 ParserSynchronizationPolicy, |
203 const KURL& overridingURL = KURL()); | 201 const KURL& overridingURL = KURL()); |
204 | 202 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 // Used to protect against reentrancy into dataReceived(). | 292 // Used to protect against reentrancy into dataReceived(). |
295 bool m_inDataReceived; | 293 bool m_inDataReceived; |
296 RefPtr<SharedBuffer> m_dataBuffer; | 294 RefPtr<SharedBuffer> m_dataBuffer; |
297 }; | 295 }; |
298 | 296 |
299 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 297 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
300 | 298 |
301 } // namespace blink | 299 } // namespace blink |
302 | 300 |
303 #endif // DocumentLoader_h | 301 #endif // DocumentLoader_h |
OLD | NEW |