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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 | 226 |
227 ResourceResponse m_response; | 227 ResourceResponse m_response; |
228 String m_responseEncoding; | 228 String m_responseEncoding; |
229 | 229 |
230 OwnPtr<TextResourceDecoder> m_decoder; | 230 OwnPtr<TextResourceDecoder> m_decoder; |
231 | 231 |
232 ScriptString m_responseText; | 232 ScriptString m_responseText; |
233 // Used to skip m_responseDocument creation if it's done previously. We need | 233 // Used to skip m_responseDocument creation if it's done previously. We need |
234 // this separate flag since m_responseDocument can be 0 for some cases. | 234 // this separate flag since m_responseDocument can be 0 for some cases. |
235 bool m_createdDocument; | 235 bool m_createdDocument; |
236 RefPtr<Document> m_responseDocument; | 236 RefPtrWillBeMember<Document> m_responseDocument; |
237 | 237 |
238 RefPtr<SharedBuffer> m_binaryResponseBuilder; | 238 RefPtr<SharedBuffer> m_binaryResponseBuilder; |
239 RefPtr<ArrayBuffer> m_responseArrayBuffer; | 239 RefPtr<ArrayBuffer> m_responseArrayBuffer; |
240 | 240 |
241 bool m_error; | 241 bool m_error; |
242 | 242 |
243 bool m_uploadEventsAllowed; | 243 bool m_uploadEventsAllowed; |
244 bool m_uploadComplete; | 244 bool m_uploadComplete; |
245 | 245 |
246 bool m_sameOriginRequest; | 246 bool m_sameOriginRequest; |
(...skipping 12 matching lines...) Expand all Loading... |
259 | 259 |
260 // An enum corresponding to the allowed string values for the responseType a
ttribute. | 260 // An enum corresponding to the allowed string values for the responseType a
ttribute. |
261 ResponseTypeCode m_responseTypeCode; | 261 ResponseTypeCode m_responseTypeCode; |
262 AsyncMethodRunner<XMLHttpRequest> m_dropProtectionRunner; | 262 AsyncMethodRunner<XMLHttpRequest> m_dropProtectionRunner; |
263 RefPtr<SecurityOrigin> m_securityOrigin; | 263 RefPtr<SecurityOrigin> m_securityOrigin; |
264 }; | 264 }; |
265 | 265 |
266 } // namespace WebCore | 266 } // namespace WebCore |
267 | 267 |
268 #endif // XMLHttpRequest_h | 268 #endif // XMLHttpRequest_h |
OLD | NEW |