Chromium Code Reviews

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

Issue 486133002: Revert of [XHR] Reduce 'readystatechange' event firing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | Source/core/xml/XMLHttpRequest.cpp » ('j') | Source/core/xml/XMLHttpRequest.cpp » ('J')
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 252 matching lines...)
263 // notification is received from m_loader and thrown at the end of send() if 263 // notification is received from m_loader and thrown at the end of send() if
264 // any. 264 // any.
265 ExceptionCode m_exceptionCode; 265 ExceptionCode m_exceptionCode;
266 266
267 XMLHttpRequestProgressEventThrottle m_progressEventThrottle; 267 XMLHttpRequestProgressEventThrottle m_progressEventThrottle;
268 268
269 // An enum corresponding to the allowed string values for the responseType a ttribute. 269 // An enum corresponding to the allowed string values for the responseType a ttribute.
270 ResponseTypeCode m_responseTypeCode; 270 ResponseTypeCode m_responseTypeCode;
271 RefPtr<SecurityOrigin> m_securityOrigin; 271 RefPtr<SecurityOrigin> m_securityOrigin;
272 272
273 double m_previousReadyStateChangeFireTime;
274
275 bool m_async; 273 bool m_async;
276 bool m_includeCredentials; 274 bool m_includeCredentials;
277 // Used to skip m_responseDocument creation if it's done previously. We need 275 // Used to skip m_responseDocument creation if it's done previously. We need
278 // this separate flag since m_responseDocument can be 0 for some cases. 276 // this separate flag since m_responseDocument can be 0 for some cases.
279 bool m_parsedResponse; 277 bool m_parsedResponse;
280 bool m_error; 278 bool m_error;
281 bool m_uploadEventsAllowed; 279 bool m_uploadEventsAllowed;
282 bool m_uploadComplete; 280 bool m_uploadComplete;
283 bool m_sameOriginRequest; 281 bool m_sameOriginRequest;
284 }; 282 };
285 283
286 } // namespace blink 284 } // namespace blink
287 285
288 #endif // XMLHttpRequest_h 286 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/xml/XMLHttpRequest.cpp » ('j') | Source/core/xml/XMLHttpRequest.cpp » ('J')

Powered by Google App Engine