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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 void open(const AtomicString& method, const KURL&, bool async, const String&
user, const String& password, ExceptionState&); | 103 void open(const AtomicString& method, const KURL&, bool async, const String&
user, const String& password, ExceptionState&); |
104 void send(ExceptionState&); | 104 void send(ExceptionState&); |
105 void send(Document*, ExceptionState&); | 105 void send(Document*, ExceptionState&); |
106 void send(const String&, ExceptionState&); | 106 void send(const String&, ExceptionState&); |
107 void send(Blob*, ExceptionState&); | 107 void send(Blob*, ExceptionState&); |
108 void send(DOMFormData*, ExceptionState&); | 108 void send(DOMFormData*, ExceptionState&); |
109 void send(ArrayBuffer*, ExceptionState&); | 109 void send(ArrayBuffer*, ExceptionState&); |
110 void send(ArrayBufferView*, ExceptionState&); | 110 void send(ArrayBufferView*, ExceptionState&); |
111 void abort(); | 111 void abort(); |
112 void setRequestHeader(const AtomicString& name, const AtomicString& value, E
xceptionState&); | 112 void setRequestHeader(const AtomicString& name, const AtomicString& value, E
xceptionState&); |
113 void overrideMimeType(const AtomicString& override); | 113 void overrideMimeType(const AtomicString& override, ExceptionState&); |
114 String getAllResponseHeaders() const; | 114 String getAllResponseHeaders() const; |
115 const AtomicString& getResponseHeader(const AtomicString&) const; | 115 const AtomicString& getResponseHeader(const AtomicString&) const; |
116 ScriptString responseText(ExceptionState&); | 116 ScriptString responseText(ExceptionState&); |
117 ScriptString responseJSONSource(); | 117 ScriptString responseJSONSource(); |
118 Document* responseXML(ExceptionState&); | 118 Document* responseXML(ExceptionState&); |
119 Blob* responseBlob(); | 119 Blob* responseBlob(); |
120 Stream* responseStream(); | 120 Stream* responseStream(); |
121 unsigned long timeout() const { return m_timeoutMilliseconds; } | 121 unsigned long timeout() const { return m_timeoutMilliseconds; } |
122 void setTimeout(unsigned long timeout, ExceptionState&); | 122 void setTimeout(unsigned long timeout, ExceptionState&); |
123 | 123 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 bool m_parsedResponse; | 273 bool m_parsedResponse; |
274 bool m_error; | 274 bool m_error; |
275 bool m_uploadEventsAllowed; | 275 bool m_uploadEventsAllowed; |
276 bool m_uploadComplete; | 276 bool m_uploadComplete; |
277 bool m_sameOriginRequest; | 277 bool m_sameOriginRequest; |
278 }; | 278 }; |
279 | 279 |
280 } // namespace blink | 280 } // namespace blink |
281 | 281 |
282 #endif // XMLHttpRequest_h | 282 #endif // XMLHttpRequest_h |
OLD | NEW |