| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 String getAllResponseHeaders() const; | 121 String getAllResponseHeaders() const; |
| 122 const AtomicString& getResponseHeader(const AtomicString&) const; | 122 const AtomicString& getResponseHeader(const AtomicString&) const; |
| 123 ScriptString responseText(ExceptionState&); | 123 ScriptString responseText(ExceptionState&); |
| 124 ScriptString responseJSONSource(); | 124 ScriptString responseJSONSource(); |
| 125 Document* responseXML(ExceptionState&); | 125 Document* responseXML(ExceptionState&); |
| 126 Blob* responseBlob(); | 126 Blob* responseBlob(); |
| 127 DOMArrayBuffer* responseArrayBuffer(); | 127 DOMArrayBuffer* responseArrayBuffer(); |
| 128 Stream* responseLegacyStream(); | 128 Stream* responseLegacyStream(); |
| 129 unsigned timeout() const { return m_timeoutMilliseconds; } | 129 unsigned timeout() const { return m_timeoutMilliseconds; } |
| 130 void setTimeout(unsigned timeout, ExceptionState&); | 130 void setTimeout(unsigned timeout, ExceptionState&); |
| 131 ResponseTypeCode responseTypeCode() const { return m_responseTypeCode; } | 131 ResponseTypeCode getResponseTypeCode() const { return m_responseTypeCode; } |
| 132 String responseType(); | 132 String responseType(); |
| 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<EncodedFormData>, ExceptionState&)
; | 137 void sendForInspectorXHRReplay(PassRefPtr<EncodedFormData>, ExceptionState&)
; |
| 138 | 138 |
| 139 XMLHttpRequestUpload* upload(); | 139 XMLHttpRequestUpload* upload(); |
| 140 | 140 |
| 141 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); | 141 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |