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 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Lesser General Public | 6 * modify it under the terms of the GNU Lesser General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 123 |
124 #if ENABLE(DASHBOARD_SUPPORT) | 124 #if ENABLE(DASHBOARD_SUPPORT) |
125 bool usesDashboardBackwardCompatibilityMode() const; | 125 bool usesDashboardBackwardCompatibilityMode() const; |
126 #endif | 126 #endif |
127 | 127 |
128 virtual void didSendData(unsigned long long bytesSent, unsigned long long to
talBytesToBeSent); | 128 virtual void didSendData(unsigned long long bytesSent, unsigned long long to
talBytesToBeSent); |
129 virtual void didReceiveResponse(const ResourceResponse&); | 129 virtual void didReceiveResponse(const ResourceResponse&); |
130 virtual void didReceiveData(const char* data, int lengthReceived); | 130 virtual void didReceiveData(const char* data, int lengthReceived); |
131 virtual void didFinishLoading(unsigned long identifier); | 131 virtual void didFinishLoading(unsigned long identifier); |
132 virtual void didFail(const ResourceError&); | 132 virtual void didFail(const ResourceError&); |
133 virtual void didFailWillSendRequestCheck(); | 133 virtual void didFailRedirectCheck(); |
134 virtual void didReceiveAuthenticationCancellation(const ResourceResponse&); | 134 virtual void didReceiveAuthenticationCancellation(const ResourceResponse&); |
135 | 135 |
136 // Special versions for the preflight | 136 // Special versions for the preflight |
137 void didReceiveResponsePreflight(const ResourceResponse&); | 137 void didReceiveResponsePreflight(const ResourceResponse&); |
138 void didFinishLoadingPreflight(); | 138 void didFinishLoadingPreflight(); |
139 | 139 |
140 void processSyncLoadResults(unsigned long identifier, const Vector<char>& da
ta, const ResourceResponse&, ExceptionCode&); | 140 void processSyncLoadResults(unsigned long identifier, const Vector<char>& da
ta, const ResourceResponse&, ExceptionCode&); |
141 void updateAndDispatchOnProgress(unsigned int len); | 141 void updateAndDispatchOnProgress(unsigned int len); |
142 | 142 |
143 String responseMIMEType() const; | 143 String responseMIMEType() const; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 // Used for onprogress tracking | 233 // Used for onprogress tracking |
234 long long m_receivedLength; | 234 long long m_receivedLength; |
235 | 235 |
236 unsigned m_lastSendLineNumber; | 236 unsigned m_lastSendLineNumber; |
237 String m_lastSendURL; | 237 String m_lastSendURL; |
238 }; | 238 }; |
239 | 239 |
240 } // namespace WebCore | 240 } // namespace WebCore |
241 | 241 |
242 #endif // XMLHttpRequest_h | 242 #endif // XMLHttpRequest_h |
OLD | NEW |