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

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

Issue 2448193005: [wrapper-tracing] XMLHttpRequest: Add write barriers (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h ('k') | 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) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org> 3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org>
4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org> 4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org>
5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved.
6 * Copyright (C) 2012 Intel Corporation 6 * Copyright (C) 2012 Intel Corporation
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 return xmlHttpRequest; 221 return xmlHttpRequest;
222 } 222 }
223 223
224 XMLHttpRequest::XMLHttpRequest( 224 XMLHttpRequest::XMLHttpRequest(
225 ExecutionContext* context, 225 ExecutionContext* context,
226 PassRefPtr<SecurityOrigin> isolatedWorldSecurityOrigin) 226 PassRefPtr<SecurityOrigin> isolatedWorldSecurityOrigin)
227 : ActiveScriptWrappable(this), 227 : ActiveScriptWrappable(this),
228 ActiveDOMObject(context), 228 ActiveDOMObject(context),
229 m_timeoutMilliseconds(0), 229 m_timeoutMilliseconds(0),
230 m_responseBlob(this, nullptr),
231 m_responseLegacyStream(this, nullptr),
230 m_state(kUnsent), 232 m_state(kUnsent),
233 m_responseDocument(this, nullptr),
231 m_lengthDownloadedToFile(0), 234 m_lengthDownloadedToFile(0),
235 m_responseArrayBuffer(this, nullptr),
232 m_receivedLength(0), 236 m_receivedLength(0),
233 m_exceptionCode(0), 237 m_exceptionCode(0),
234 m_progressEventThrottle( 238 m_progressEventThrottle(
235 XMLHttpRequestProgressEventThrottle::create(this)), 239 XMLHttpRequestProgressEventThrottle::create(this)),
236 m_responseTypeCode(ResponseTypeDefault), 240 m_responseTypeCode(ResponseTypeDefault),
237 m_isolatedWorldSecurityOrigin(isolatedWorldSecurityOrigin), 241 m_isolatedWorldSecurityOrigin(isolatedWorldSecurityOrigin),
238 m_eventDispatchRecursionLevel(0), 242 m_eventDispatchRecursionLevel(0),
239 m_async(true), 243 m_async(true),
240 m_includeCredentials(false), 244 m_includeCredentials(false),
241 m_parsedResponse(false), 245 m_parsedResponse(false),
(...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1871 visitor->traceWrappers(m_responseDocument); 1875 visitor->traceWrappers(m_responseDocument);
1872 visitor->traceWrappers(m_responseArrayBuffer); 1876 visitor->traceWrappers(m_responseArrayBuffer);
1873 XMLHttpRequestEventTarget::traceWrappers(visitor); 1877 XMLHttpRequestEventTarget::traceWrappers(visitor);
1874 } 1878 }
1875 1879
1876 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) { 1880 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) {
1877 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr); 1881 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr);
1878 } 1882 }
1879 1883
1880 } // namespace blink 1884 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698