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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 286 |
287 // An exception to throw in synchronous mode. It's set when failure | 287 // An exception to throw in synchronous mode. It's set when failure |
288 // notification is received from m_loader and thrown at the end of send() if | 288 // notification is received from m_loader and thrown at the end of send() if |
289 // any. | 289 // any. |
290 ExceptionCode m_exceptionCode; | 290 ExceptionCode m_exceptionCode; |
291 | 291 |
292 Member<XMLHttpRequestProgressEventThrottle> m_progressEventThrottle; | 292 Member<XMLHttpRequestProgressEventThrottle> m_progressEventThrottle; |
293 | 293 |
294 // An enum corresponding to the allowed string values for the responseType a
ttribute. | 294 // An enum corresponding to the allowed string values for the responseType a
ttribute. |
295 ResponseTypeCode m_responseTypeCode; | 295 ResponseTypeCode m_responseTypeCode; |
296 RefPtr<SecurityOrigin> m_securityOrigin; | 296 RefPtr<SecurityOrigin> m_isolatedWorldSecurityOrigin; |
297 | 297 |
298 // This blob loader will be used if |m_downloadingToFile| is true and | 298 // This blob loader will be used if |m_downloadingToFile| is true and |
299 // |m_responseTypeCode| is NOT ResponseTypeBlob. | 299 // |m_responseTypeCode| is NOT ResponseTypeBlob. |
300 Member<BlobLoader> m_blobLoader; | 300 Member<BlobLoader> m_blobLoader; |
301 | 301 |
302 // Positive if we are dispatching events. | 302 // Positive if we are dispatching events. |
303 // This is an integer specifying the recursion level rather than a boolean | 303 // This is an integer specifying the recursion level rather than a boolean |
304 // because in some cases we have recursive dispatching. | 304 // because in some cases we have recursive dispatching. |
305 int m_eventDispatchRecursionLevel; | 305 int m_eventDispatchRecursionLevel; |
306 | 306 |
307 bool m_async; | 307 bool m_async; |
308 bool m_includeCredentials; | 308 bool m_includeCredentials; |
309 // Used to skip m_responseDocument creation if it's done previously. We need | 309 // Used to skip m_responseDocument creation if it's done previously. We need |
310 // this separate flag since m_responseDocument can be 0 for some cases. | 310 // this separate flag since m_responseDocument can be 0 for some cases. |
311 bool m_parsedResponse; | 311 bool m_parsedResponse; |
312 bool m_error; | 312 bool m_error; |
313 bool m_uploadEventsAllowed; | 313 bool m_uploadEventsAllowed; |
314 bool m_uploadComplete; | 314 bool m_uploadComplete; |
315 bool m_sameOriginRequest; | 315 bool m_sameOriginRequest; |
316 // True iff the ongoing resource loading is using the downloadToFile | 316 // True iff the ongoing resource loading is using the downloadToFile |
317 // option. | 317 // option. |
318 bool m_downloadingToFile; | 318 bool m_downloadingToFile; |
319 bool m_responseTextOverflow; | 319 bool m_responseTextOverflow; |
320 }; | 320 }; |
321 | 321 |
322 } // namespace blink | 322 } // namespace blink |
323 | 323 |
324 #endif // XMLHttpRequest_h | 324 #endif // XMLHttpRequest_h |
OLD | NEW |