| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 String responseURL(); | 156 String responseURL(); |
| 157 | 157 |
| 158 // For Inspector. | 158 // For Inspector. |
| 159 void sendForInspectorXHRReplay(PassRefPtr<EncodedFormData>, ExceptionState&); | 159 void sendForInspectorXHRReplay(PassRefPtr<EncodedFormData>, ExceptionState&); |
| 160 | 160 |
| 161 XMLHttpRequestUpload* upload(); | 161 XMLHttpRequestUpload* upload(); |
| 162 bool isAsync() { return m_async; } | 162 bool isAsync() { return m_async; } |
| 163 | 163 |
| 164 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); | 164 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); |
| 165 | 165 |
| 166 // (Also) eagerly finalized so as to prevent access to the eagerly finalized | |
| 167 // progress event throttle. | |
| 168 EAGERLY_FINALIZE(); | |
| 169 DECLARE_VIRTUAL_TRACE(); | 166 DECLARE_VIRTUAL_TRACE(); |
| 170 DECLARE_TRACE_WRAPPERS(); | 167 DECLARE_TRACE_WRAPPERS(); |
| 171 | 168 |
| 172 private: | 169 private: |
| 173 class BlobLoader; | 170 class BlobLoader; |
| 174 XMLHttpRequest(ExecutionContext*, | 171 XMLHttpRequest(ExecutionContext*, |
| 175 bool isIsolatedWorld, | 172 bool isIsolatedWorld, |
| 176 PassRefPtr<SecurityOrigin>); | 173 PassRefPtr<SecurityOrigin>); |
| 177 | 174 |
| 178 Document* document() const; | 175 Document* document() const; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 bool m_downloadingToFile; | 349 bool m_downloadingToFile; |
| 353 bool m_responseTextOverflow; | 350 bool m_responseTextOverflow; |
| 354 bool m_sendFlag; | 351 bool m_sendFlag; |
| 355 }; | 352 }; |
| 356 | 353 |
| 357 std::ostream& operator<<(std::ostream&, const XMLHttpRequest*); | 354 std::ostream& operator<<(std::ostream&, const XMLHttpRequest*); |
| 358 | 355 |
| 359 } // namespace blink | 356 } // namespace blink |
| 360 | 357 |
| 361 #endif // XMLHttpRequest_h | 358 #endif // XMLHttpRequest_h |
| OLD | NEW |