OLD | NEW |
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "platform/network/ResourceRequest.h" | 53 #include "platform/network/ResourceRequest.h" |
54 #include "public/platform/Platform.h" | 54 #include "public/platform/Platform.h" |
55 #include "wtf/ArrayBuffer.h" | 55 #include "wtf/ArrayBuffer.h" |
56 #include "wtf/ArrayBufferView.h" | 56 #include "wtf/ArrayBufferView.h" |
57 #include "wtf/RefCountedLeakCounter.h" | 57 #include "wtf/RefCountedLeakCounter.h" |
58 #include "wtf/StdLibExtras.h" | 58 #include "wtf/StdLibExtras.h" |
59 #include "wtf/text/CString.h" | 59 #include "wtf/text/CString.h" |
60 | 60 |
61 namespace WebCore { | 61 namespace WebCore { |
62 | 62 |
63 DEFINE_GC_INFO(XMLHttpRequest); | |
64 | |
65 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, xmlHttpRequestCounter, ("XM
LHttpRequest")); | 63 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, xmlHttpRequestCounter, ("XM
LHttpRequest")); |
66 | 64 |
67 // Histogram enum to see when we can deprecate xhr.send(ArrayBuffer). | 65 // Histogram enum to see when we can deprecate xhr.send(ArrayBuffer). |
68 enum XMLHttpRequestSendArrayBufferOrView { | 66 enum XMLHttpRequestSendArrayBufferOrView { |
69 XMLHttpRequestSendArrayBuffer, | 67 XMLHttpRequestSendArrayBuffer, |
70 XMLHttpRequestSendArrayBufferView, | 68 XMLHttpRequestSendArrayBufferView, |
71 XMLHttpRequestSendArrayBufferOrViewMax, | 69 XMLHttpRequestSendArrayBufferOrViewMax, |
72 }; | 70 }; |
73 | 71 |
74 struct XMLHttpRequestStaticData { | 72 struct XMLHttpRequestStaticData { |
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1423 { | 1421 { |
1424 return EventTargetNames::XMLHttpRequest; | 1422 return EventTargetNames::XMLHttpRequest; |
1425 } | 1423 } |
1426 | 1424 |
1427 ExecutionContext* XMLHttpRequest::executionContext() const | 1425 ExecutionContext* XMLHttpRequest::executionContext() const |
1428 { | 1426 { |
1429 return ActiveDOMObject::executionContext(); | 1427 return ActiveDOMObject::executionContext(); |
1430 } | 1428 } |
1431 | 1429 |
1432 } // namespace WebCore | 1430 } // namespace WebCore |
OLD | NEW |