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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 void overrideMimeType(const AtomicString& override, ExceptionState&); | 127 void overrideMimeType(const AtomicString& override, ExceptionState&); |
128 String getAllResponseHeaders() const; | 128 String getAllResponseHeaders() const; |
129 const AtomicString& getResponseHeader(const AtomicString&) const; | 129 const AtomicString& getResponseHeader(const AtomicString&) const; |
130 ScriptString responseText(ExceptionState&); | 130 ScriptString responseText(ExceptionState&); |
131 ScriptString responseJSONSource(); | 131 ScriptString responseJSONSource(); |
132 Document* responseXML(ExceptionState&); | 132 Document* responseXML(ExceptionState&); |
133 Blob* responseBlob(); | 133 Blob* responseBlob(); |
134 DOMArrayBuffer* responseArrayBuffer(); | 134 DOMArrayBuffer* responseArrayBuffer(); |
135 Stream* responseLegacyStream(); | 135 Stream* responseLegacyStream(); |
136 ReadableStream* responseStream(); | 136 ReadableStream* responseStream(); |
137 unsigned long timeout() const { return m_timeoutMilliseconds; } | 137 unsigned timeout() const { return m_timeoutMilliseconds; } |
138 void setTimeout(unsigned long timeout, ExceptionState&); | 138 void setTimeout(unsigned timeout, ExceptionState&); |
139 ResponseTypeCode responseTypeCode() const { return m_responseTypeCode; } | 139 ResponseTypeCode responseTypeCode() const { return m_responseTypeCode; } |
140 String responseType(); | 140 String responseType(); |
141 void setResponseType(const String&, ExceptionState&); | 141 void setResponseType(const String&, ExceptionState&); |
142 String responseURL(); | 142 String responseURL(); |
143 | 143 |
144 // For Inspector. | 144 // For Inspector. |
145 void sendForInspectorXHRReplay(PassRefPtr<FormData>, ExceptionState&); | 145 void sendForInspectorXHRReplay(PassRefPtr<FormData>, ExceptionState&); |
146 | 146 |
147 XMLHttpRequestUpload* upload(); | 147 XMLHttpRequestUpload* upload(); |
148 | 148 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 bool m_uploadComplete; | 304 bool m_uploadComplete; |
305 bool m_sameOriginRequest; | 305 bool m_sameOriginRequest; |
306 // True iff the ongoing resource loading is using the downloadToFile | 306 // True iff the ongoing resource loading is using the downloadToFile |
307 // option. | 307 // option. |
308 bool m_downloadingToFile; | 308 bool m_downloadingToFile; |
309 }; | 309 }; |
310 | 310 |
311 } // namespace blink | 311 } // namespace blink |
312 | 312 |
313 #endif // XMLHttpRequest_h | 313 #endif // XMLHttpRequest_h |
OLD | NEW |