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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "platform/blob/BlobData.h" | 49 #include "platform/blob/BlobData.h" |
50 #include "platform/network/HTTPParsers.h" | 50 #include "platform/network/HTTPParsers.h" |
51 #include "platform/network/ParsedContentType.h" | 51 #include "platform/network/ParsedContentType.h" |
52 #include "platform/network/ResourceError.h" | 52 #include "platform/network/ResourceError.h" |
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/UnusedParam.h" | |
60 #include "wtf/text/CString.h" | 59 #include "wtf/text/CString.h" |
61 | 60 |
62 namespace WebCore { | 61 namespace WebCore { |
63 | 62 |
64 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, xmlHttpRequestCounter, ("XM
LHttpRequest")); | 63 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, xmlHttpRequestCounter, ("XM
LHttpRequest")); |
65 | 64 |
66 // Histogram enum to see when we can deprecate xhr.send(ArrayBuffer). | 65 // Histogram enum to see when we can deprecate xhr.send(ArrayBuffer). |
67 enum XMLHttpRequestSendArrayBufferOrView { | 66 enum XMLHttpRequestSendArrayBufferOrView { |
68 XMLHttpRequestSendArrayBuffer, | 67 XMLHttpRequestSendArrayBuffer, |
69 XMLHttpRequestSendArrayBufferView, | 68 XMLHttpRequestSendArrayBufferView, |
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1427 { | 1426 { |
1428 return EventTargetNames::XMLHttpRequest; | 1427 return EventTargetNames::XMLHttpRequest; |
1429 } | 1428 } |
1430 | 1429 |
1431 ExecutionContext* XMLHttpRequest::executionContext() const | 1430 ExecutionContext* XMLHttpRequest::executionContext() const |
1432 { | 1431 { |
1433 return ActiveDOMObject::executionContext(); | 1432 return ActiveDOMObject::executionContext(); |
1434 } | 1433 } |
1435 | 1434 |
1436 } // namespace WebCore | 1435 } // namespace WebCore |
OLD | NEW |