Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: Source/core/xml/XMLHttpRequest.h

Issue 467593002: Fix incorrect comment about XMLHttpRequest::handleDidCancel() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // Dispatches a response ProgressEvent. 204 // Dispatches a response ProgressEvent.
205 void dispatchProgressEvent(const AtomicString&, long long, long long); 205 void dispatchProgressEvent(const AtomicString&, long long, long long);
206 // Dispatches a response ProgressEvent using values sampled from 206 // Dispatches a response ProgressEvent using values sampled from
207 // m_receivedLength and m_response. 207 // m_receivedLength and m_response.
208 void dispatchProgressEventFromSnapshot(const AtomicString&); 208 void dispatchProgressEventFromSnapshot(const AtomicString&);
209 209
210 // Does clean up common for all kind of didFail() call. 210 // Does clean up common for all kind of didFail() call.
211 void handleDidFailGeneric(); 211 void handleDidFailGeneric();
212 // Handles didFail() call not caused by cancellation or timeout. 212 // Handles didFail() call not caused by cancellation or timeout.
213 void handleNetworkError(); 213 void handleNetworkError();
214 // Handles didFail() call triggered by m_loader->cancel(). 214 // Handles didFail() call for cancellations. For example, the
215 // ResourceLoader handling the load notifies m_loader of an error
216 // cancellation when the frame containing the XHR navigates away.
215 void handleDidCancel(); 217 void handleDidCancel();
216 // Handles didFail() call for timeout. 218 // Handles didFail() call for timeout.
217 void handleDidTimeout(); 219 void handleDidTimeout();
218 220
219 void handleRequestError(ExceptionCode, const AtomicString&, long long, long long); 221 void handleRequestError(ExceptionCode, const AtomicString&, long long, long long);
220 222
221 OwnPtrWillBeMember<XMLHttpRequestUpload> m_upload; 223 OwnPtrWillBeMember<XMLHttpRequestUpload> m_upload;
222 224
223 KURL m_url; 225 KURL m_url;
224 AtomicString m_method; 226 AtomicString m_method;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 bool m_parsedResponse; 273 bool m_parsedResponse;
272 bool m_error; 274 bool m_error;
273 bool m_uploadEventsAllowed; 275 bool m_uploadEventsAllowed;
274 bool m_uploadComplete; 276 bool m_uploadComplete;
275 bool m_sameOriginRequest; 277 bool m_sameOriginRequest;
276 }; 278 };
277 279
278 } // namespace blink 280 } // namespace blink
279 281
280 #endif // XMLHttpRequest_h 282 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698