| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 bool responseIsXML() const; | 186 bool responseIsXML() const; |
| 187 bool responseIsHTML() const; | 187 bool responseIsHTML() const; |
| 188 | 188 |
| 189 PassOwnPtr<TextResourceDecoder> createDecoder() const; | 189 PassOwnPtr<TextResourceDecoder> createDecoder() const; |
| 190 | 190 |
| 191 void initResponseDocument(); | 191 void initResponseDocument(); |
| 192 void parseDocumentChunk(const char* data, unsigned dataLength); | 192 void parseDocumentChunk(const char* data, unsigned dataLength); |
| 193 | 193 |
| 194 bool areMethodAndURLValidForSend(); | 194 bool areMethodAndURLValidForSend(); |
| 195 | 195 |
| 196 void throwForLoadFailureIfNeeded(ExceptionState&, const String&); |
| 197 |
| 196 bool initSend(ExceptionState&); | 198 bool initSend(ExceptionState&); |
| 197 void sendBytesData(const void*, size_t, ExceptionState&); | 199 void sendBytesData(const void*, size_t, ExceptionState&); |
| 198 void send(Document*, ExceptionState&); | 200 void send(Document*, ExceptionState&); |
| 199 void send(const String&, ExceptionState&); | 201 void send(const String&, ExceptionState&); |
| 200 void send(Blob*, ExceptionState&); | 202 void send(Blob*, ExceptionState&); |
| 201 void send(DOMFormData*, ExceptionState&); | 203 void send(DOMFormData*, ExceptionState&); |
| 202 void send(DOMArrayBuffer*, ExceptionState&); | 204 void send(DOMArrayBuffer*, ExceptionState&); |
| 203 void send(DOMArrayBufferView*, ExceptionState&); | 205 void send(DOMArrayBufferView*, ExceptionState&); |
| 204 | 206 |
| 205 const AtomicString& getRequestHeader(const AtomicString& name) const; | 207 const AtomicString& getRequestHeader(const AtomicString& name) const; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 bool m_sameOriginRequest; | 309 bool m_sameOriginRequest; |
| 308 // True iff the ongoing resource loading is using the downloadToFile | 310 // True iff the ongoing resource loading is using the downloadToFile |
| 309 // option. | 311 // option. |
| 310 bool m_downloadingToFile; | 312 bool m_downloadingToFile; |
| 311 bool m_responseTextOverflow; | 313 bool m_responseTextOverflow; |
| 312 }; | 314 }; |
| 313 | 315 |
| 314 } // namespace blink | 316 } // namespace blink |
| 315 | 317 |
| 316 #endif // XMLHttpRequest_h | 318 #endif // XMLHttpRequest_h |
| OLD | NEW |