| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const KURL& unreachableURL() const; | 91 const KURL& unreachableURL() const; |
| 92 const KURL& urlForHistory() const; | 92 const KURL& urlForHistory() const; |
| 93 | 93 |
| 94 const AtomicString& responseMIMEType() const; | 94 const AtomicString& responseMIMEType() const; |
| 95 | 95 |
| 96 void didChangePerformanceTiming(); | 96 void didChangePerformanceTiming(); |
| 97 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour
ce); | 97 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour
ce); |
| 98 void stopLoading(); | 98 void stopLoading(); |
| 99 bool isLoading() const; | 99 bool isLoading() const; |
| 100 const ResourceResponse& response() const { return m_response; } | 100 const ResourceResponse& response() const { return m_response; } |
| 101 const ResourceError& mainDocumentError() const { return m_mainDocumentError;
} | |
| 102 bool isClientRedirect() const { return m_isClientRedirect; } | 101 bool isClientRedirect() const { return m_isClientRedirect; } |
| 103 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = isCli
entRedirect; } | 102 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = isCli
entRedirect; } |
| 104 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistoryIte
m; } | 103 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistoryIte
m; } |
| 105 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_repl
acesCurrentHistoryItem = replacesCurrentHistoryItem; } | 104 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_repl
acesCurrentHistoryItem = replacesCurrentHistoryItem; } |
| 106 | 105 |
| 107 bool isCommittedButEmpty() const { return m_state == Committed; } | 106 bool isCommittedButEmpty() const { return m_state == Committed; } |
| 108 | 107 |
| 109 void setSentDidFinishLoad() { m_state = SentDidFinishLoad; } | 108 void setSentDidFinishLoad() { m_state = SentDidFinishLoad; } |
| 110 bool sentDidFinishLoad() const { return m_state == SentDidFinishLoad; } | 109 bool sentDidFinishLoad() const { return m_state == SentDidFinishLoad; } |
| 111 | 110 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 205 |
| 207 SubstituteData m_substituteData; | 206 SubstituteData m_substituteData; |
| 208 | 207 |
| 209 // The 'working' request. It may be mutated | 208 // The 'working' request. It may be mutated |
| 210 // several times from the original request to include additional | 209 // several times from the original request to include additional |
| 211 // headers, cookie information, canonicalization and redirects. | 210 // headers, cookie information, canonicalization and redirects. |
| 212 ResourceRequest m_request; | 211 ResourceRequest m_request; |
| 213 | 212 |
| 214 ResourceResponse m_response; | 213 ResourceResponse m_response; |
| 215 | 214 |
| 216 ResourceError m_mainDocumentError; | |
| 217 | |
| 218 bool m_isClientRedirect; | 215 bool m_isClientRedirect; |
| 219 bool m_replacesCurrentHistoryItem; | 216 bool m_replacesCurrentHistoryItem; |
| 220 | 217 |
| 221 NavigationType m_navigationType; | 218 NavigationType m_navigationType; |
| 222 | 219 |
| 223 RefPtrWillBeMember<MHTMLArchive> m_archive; | 220 RefPtrWillBeMember<MHTMLArchive> m_archive; |
| 224 | 221 |
| 225 DocumentLoadTiming m_documentLoadTiming; | 222 DocumentLoadTiming m_documentLoadTiming; |
| 226 | 223 |
| 227 double m_timeOfLastDataReceived; | 224 double m_timeOfLastDataReceived; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 245 // Used to protect against reentrancy into dataReceived(). | 242 // Used to protect against reentrancy into dataReceived(). |
| 246 bool m_inDataReceived; | 243 bool m_inDataReceived; |
| 247 RefPtr<SharedBuffer> m_dataBuffer; | 244 RefPtr<SharedBuffer> m_dataBuffer; |
| 248 }; | 245 }; |
| 249 | 246 |
| 250 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 247 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
| 251 | 248 |
| 252 } // namespace blink | 249 } // namespace blink |
| 253 | 250 |
| 254 #endif // DocumentLoader_h | 251 #endif // DocumentLoader_h |
| OLD | NEW |