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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 #include "platform/loader/fetch/FetchUtils.h" | 71 #include "platform/loader/fetch/FetchUtils.h" |
72 #include "platform/loader/fetch/ResourceError.h" | 72 #include "platform/loader/fetch/ResourceError.h" |
73 #include "platform/loader/fetch/ResourceLoaderOptions.h" | 73 #include "platform/loader/fetch/ResourceLoaderOptions.h" |
74 #include "platform/loader/fetch/ResourceRequest.h" | 74 #include "platform/loader/fetch/ResourceRequest.h" |
75 #include "platform/network/HTTPParsers.h" | 75 #include "platform/network/HTTPParsers.h" |
76 #include "platform/network/NetworkLog.h" | 76 #include "platform/network/NetworkLog.h" |
77 #include "platform/network/ParsedContentType.h" | 77 #include "platform/network/ParsedContentType.h" |
78 #include "platform/weborigin/SecurityOrigin.h" | 78 #include "platform/weborigin/SecurityOrigin.h" |
79 #include "platform/weborigin/SecurityPolicy.h" | 79 #include "platform/weborigin/SecurityPolicy.h" |
80 #include "platform/weborigin/Suborigin.h" | 80 #include "platform/weborigin/Suborigin.h" |
| 81 #include "platform/wtf/Assertions.h" |
| 82 #include "platform/wtf/AutoReset.h" |
| 83 #include "platform/wtf/StdLibExtras.h" |
| 84 #include "platform/wtf/text/CString.h" |
81 #include "public/platform/WebURLRequest.h" | 85 #include "public/platform/WebURLRequest.h" |
82 #include "wtf/Assertions.h" | |
83 #include "wtf/AutoReset.h" | |
84 #include "wtf/StdLibExtras.h" | |
85 #include "wtf/text/CString.h" | |
86 | 86 |
87 namespace blink { | 87 namespace blink { |
88 | 88 |
89 namespace { | 89 namespace { |
90 | 90 |
91 // This class protects the wrapper of the associated XMLHttpRequest object | 91 // This class protects the wrapper of the associated XMLHttpRequest object |
92 // via hasPendingActivity method which returns true if | 92 // via hasPendingActivity method which returns true if |
93 // m_eventDispatchRecursionLevel is positive. | 93 // m_eventDispatchRecursionLevel is positive. |
94 class ScopedEventDispatchProtect final { | 94 class ScopedEventDispatchProtect final { |
95 public: | 95 public: |
(...skipping 1795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1891 visitor->TraceWrappers(response_document_); | 1891 visitor->TraceWrappers(response_document_); |
1892 visitor->TraceWrappers(response_array_buffer_); | 1892 visitor->TraceWrappers(response_array_buffer_); |
1893 XMLHttpRequestEventTarget::TraceWrappers(visitor); | 1893 XMLHttpRequestEventTarget::TraceWrappers(visitor); |
1894 } | 1894 } |
1895 | 1895 |
1896 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) { | 1896 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) { |
1897 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr); | 1897 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr); |
1898 } | 1898 } |
1899 | 1899 |
1900 } // namespace blink | 1900 } // namespace blink |
OLD | NEW |