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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 void setResponseType(const String&, ExceptionState&); | 133 void setResponseType(const String&, ExceptionState&); |
134 String responseURL(); | 134 String responseURL(); |
135 | 135 |
136 // For Inspector. | 136 // For Inspector. |
137 void sendForInspectorXHRReplay(PassRefPtr<FormData>, ExceptionState&); | 137 void sendForInspectorXHRReplay(PassRefPtr<FormData>, ExceptionState&); |
138 | 138 |
139 XMLHttpRequestUpload* upload(); | 139 XMLHttpRequestUpload* upload(); |
140 | 140 |
141 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); | 141 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); |
142 | 142 |
| 143 // (Also) eagerly finalized so as to prevent access to the eagerly finalized |
| 144 // progress event throttle. |
| 145 EAGERLY_FINALIZE(); |
| 146 #if !ENABLE(OILPAN) |
| 147 DECLARE_EAGER_FINALIZATION_OPERATOR_NEW(); |
| 148 #endif |
143 DECLARE_VIRTUAL_TRACE(); | 149 DECLARE_VIRTUAL_TRACE(); |
144 | 150 |
145 private: | 151 private: |
146 class BlobLoader; | 152 class BlobLoader; |
147 XMLHttpRequest(ExecutionContext*, PassRefPtr<SecurityOrigin>); | 153 XMLHttpRequest(ExecutionContext*, PassRefPtr<SecurityOrigin>); |
148 | 154 |
149 Document* document() const; | 155 Document* document() const; |
150 SecurityOrigin* securityOrigin() const; | 156 SecurityOrigin* securityOrigin() const; |
151 | 157 |
152 void didSendData(unsigned long long bytesSent, unsigned long long totalBytes
ToBeSent) override; | 158 void didSendData(unsigned long long bytesSent, unsigned long long totalBytes
ToBeSent) override; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 bool m_sameOriginRequest; | 313 bool m_sameOriginRequest; |
308 // True iff the ongoing resource loading is using the downloadToFile | 314 // True iff the ongoing resource loading is using the downloadToFile |
309 // option. | 315 // option. |
310 bool m_downloadingToFile; | 316 bool m_downloadingToFile; |
311 bool m_responseTextOverflow; | 317 bool m_responseTextOverflow; |
312 }; | 318 }; |
313 | 319 |
314 } // namespace blink | 320 } // namespace blink |
315 | 321 |
316 #endif // XMLHttpRequest_h | 322 #endif // XMLHttpRequest_h |
OLD | NEW |