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

Side by Side Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 years, 8 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
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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 276
277 OwnPtr<TextResourceDecoder> m_decoder; 277 OwnPtr<TextResourceDecoder> m_decoder;
278 278
279 ScriptString m_responseText; 279 ScriptString m_responseText;
280 Member<Document> m_responseDocument; 280 Member<Document> m_responseDocument;
281 Member<DocumentParser> m_responseDocumentParser; 281 Member<DocumentParser> m_responseDocumentParser;
282 282
283 RefPtr<SharedBuffer> m_binaryResponseBuilder; 283 RefPtr<SharedBuffer> m_binaryResponseBuilder;
284 long long m_lengthDownloadedToFile; 284 long long m_lengthDownloadedToFile;
285 285
286 RefPtr<DOMArrayBuffer> m_responseArrayBuffer; 286 Member<DOMArrayBuffer> m_responseArrayBuffer;
287 287
288 // Used for onprogress tracking 288 // Used for onprogress tracking
289 long long m_receivedLength; 289 long long m_receivedLength;
290 290
291 // An exception to throw in synchronous mode. It's set when failure 291 // An exception to throw in synchronous mode. It's set when failure
292 // notification is received from m_loader and thrown at the end of send() if 292 // notification is received from m_loader and thrown at the end of send() if
293 // any. 293 // any.
294 ExceptionCode m_exceptionCode; 294 ExceptionCode m_exceptionCode;
295 295
296 Member<XMLHttpRequestProgressEventThrottle> m_progressEventThrottle; 296 Member<XMLHttpRequestProgressEventThrottle> m_progressEventThrottle;
(...skipping 22 matching lines...) Expand all
319 bool m_sameOriginRequest; 319 bool m_sameOriginRequest;
320 // True iff the ongoing resource loading is using the downloadToFile 320 // True iff the ongoing resource loading is using the downloadToFile
321 // option. 321 // option.
322 bool m_downloadingToFile; 322 bool m_downloadingToFile;
323 bool m_responseTextOverflow; 323 bool m_responseTextOverflow;
324 }; 324 };
325 325
326 } // namespace blink 326 } // namespace blink
327 327
328 #endif // XMLHttpRequest_h 328 #endif // XMLHttpRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698