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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 bool initSend(ExceptionState&); | 169 bool initSend(ExceptionState&); |
170 void sendBytesData(const void*, size_t, ExceptionState&); | 170 void sendBytesData(const void*, size_t, ExceptionState&); |
171 | 171 |
172 String getRequestHeader(const AtomicString& name) const; | 172 String getRequestHeader(const AtomicString& name) const; |
173 void setRequestHeaderInternal(const AtomicString& name, const String& value)
; | 173 void setRequestHeaderInternal(const AtomicString& name, const String& value)
; |
174 | 174 |
175 void changeState(State newState); | 175 void changeState(State newState); |
176 void callReadyStateChangeListener(); | 176 void callReadyStateChangeListener(); |
177 void dropProtectionSoon(); | 177 void dropProtectionSoon(); |
178 void dropProtection(Timer<XMLHttpRequest>* = 0); | 178 void dropProtection(Timer<XMLHttpRequest>* = 0); |
179 void internalAbort(); | 179 bool internalAbort(); |
180 void clearResponse(); | 180 void clearResponse(); |
181 void clearResponseBuffers(); | 181 void clearResponseBuffers(); |
182 void clearRequest(); | 182 void clearRequest(); |
183 | 183 |
184 void createRequest(ExceptionState&); | 184 void createRequest(ExceptionState&); |
185 | 185 |
186 void genericError(); | 186 void genericError(); |
187 void networkError(); | 187 void networkError(); |
188 void abortError(); | 188 void abortError(); |
189 | 189 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 // An enum corresponding to the allowed string values for the responseType a
ttribute. | 236 // An enum corresponding to the allowed string values for the responseType a
ttribute. |
237 ResponseTypeCode m_responseTypeCode; | 237 ResponseTypeCode m_responseTypeCode; |
238 Timer<XMLHttpRequest> m_protectionTimer; | 238 Timer<XMLHttpRequest> m_protectionTimer; |
239 RefPtr<SecurityOrigin> m_securityOrigin; | 239 RefPtr<SecurityOrigin> m_securityOrigin; |
240 }; | 240 }; |
241 | 241 |
242 } // namespace WebCore | 242 } // namespace WebCore |
243 | 243 |
244 #endif // XMLHttpRequest_h | 244 #endif // XMLHttpRequest_h |
OLD | NEW |