| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@nypop.com> | 3 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@nypop.com> |
| 4 * Copyright (C) 2011 Google Inc. All rights reserved. | 4 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 5 * Copyright (C) 2012 Intel Corporation | 5 * Copyright (C) 2012 Intel Corporation |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 void sendForInspectorXHRReplay(PassRefPtr<EncodedFormData>, ExceptionState&)
; | 140 void sendForInspectorXHRReplay(PassRefPtr<EncodedFormData>, ExceptionState&)
; |
| 141 | 141 |
| 142 XMLHttpRequestUpload* upload(); | 142 XMLHttpRequestUpload* upload(); |
| 143 bool isAsync() { return m_async; } | 143 bool isAsync() { return m_async; } |
| 144 | 144 |
| 145 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); | 145 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); |
| 146 | 146 |
| 147 // (Also) eagerly finalized so as to prevent access to the eagerly finalized | 147 // (Also) eagerly finalized so as to prevent access to the eagerly finalized |
| 148 // progress event throttle. | 148 // progress event throttle. |
| 149 EAGERLY_FINALIZE(); | 149 EAGERLY_FINALIZE(); |
| 150 #if !ENABLE(OILPAN) | |
| 151 DECLARE_EAGER_FINALIZATION_OPERATOR_NEW(); | |
| 152 #endif | |
| 153 DECLARE_VIRTUAL_TRACE(); | 150 DECLARE_VIRTUAL_TRACE(); |
| 154 | 151 |
| 155 private: | 152 private: |
| 156 class BlobLoader; | 153 class BlobLoader; |
| 157 XMLHttpRequest(ExecutionContext*, PassRefPtr<SecurityOrigin>); | 154 XMLHttpRequest(ExecutionContext*, PassRefPtr<SecurityOrigin>); |
| 158 | 155 |
| 159 Document* document() const; | 156 Document* document() const; |
| 160 SecurityOrigin* getSecurityOrigin() const; | 157 SecurityOrigin* getSecurityOrigin() const; |
| 161 | 158 |
| 162 void didSendData(unsigned long long bytesSent, unsigned long long totalBytes
ToBeSent) override; | 159 void didSendData(unsigned long long bytesSent, unsigned long long totalBytes
ToBeSent) override; |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 bool m_sameOriginRequest; | 316 bool m_sameOriginRequest; |
| 320 // True iff the ongoing resource loading is using the downloadToFile | 317 // True iff the ongoing resource loading is using the downloadToFile |
| 321 // option. | 318 // option. |
| 322 bool m_downloadingToFile; | 319 bool m_downloadingToFile; |
| 323 bool m_responseTextOverflow; | 320 bool m_responseTextOverflow; |
| 324 }; | 321 }; |
| 325 | 322 |
| 326 } // namespace blink | 323 } // namespace blink |
| 327 | 324 |
| 328 #endif // XMLHttpRequest_h | 325 #endif // XMLHttpRequest_h |
| OLD | NEW |