| OLD | NEW |
| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 class TextResourceDecoder; | 63 class TextResourceDecoder; |
| 64 class ThreadableLoader; | 64 class ThreadableLoader; |
| 65 class WebDataConsumerHandle; | 65 class WebDataConsumerHandle; |
| 66 class XMLHttpRequestUpload; | 66 class XMLHttpRequestUpload; |
| 67 | 67 |
| 68 typedef int ExceptionCode; | 68 typedef int ExceptionCode; |
| 69 | 69 |
| 70 class XMLHttpRequest final : public XMLHttpRequestEventTarget, | 70 class XMLHttpRequest final : public XMLHttpRequestEventTarget, |
| 71 private ThreadableLoaderClient, | 71 private ThreadableLoaderClient, |
| 72 public DocumentParserClient, | 72 public DocumentParserClient, |
| 73 public ActiveScriptWrappable, | 73 public ActiveScriptWrappable<XMLHttpRequest>, |
| 74 public SuspendableObject { | 74 public SuspendableObject { |
| 75 DEFINE_WRAPPERTYPEINFO(); | 75 DEFINE_WRAPPERTYPEINFO(); |
| 76 USING_GARBAGE_COLLECTED_MIXIN(XMLHttpRequest); | 76 USING_GARBAGE_COLLECTED_MIXIN(XMLHttpRequest); |
| 77 | 77 |
| 78 public: | 78 public: |
| 79 static XMLHttpRequest* create(ScriptState*); | 79 static XMLHttpRequest* create(ScriptState*); |
| 80 static XMLHttpRequest* create(ExecutionContext*); | 80 static XMLHttpRequest* create(ExecutionContext*); |
| 81 ~XMLHttpRequest() override; | 81 ~XMLHttpRequest() override; |
| 82 | 82 |
| 83 // These exact numeric values are important because JS expects them. | 83 // These exact numeric values are important because JS expects them. |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 bool m_downloadingToFile; | 337 bool m_downloadingToFile; |
| 338 bool m_responseTextOverflow; | 338 bool m_responseTextOverflow; |
| 339 bool m_sendFlag; | 339 bool m_sendFlag; |
| 340 }; | 340 }; |
| 341 | 341 |
| 342 std::ostream& operator<<(std::ostream&, const XMLHttpRequest*); | 342 std::ostream& operator<<(std::ostream&, const XMLHttpRequest*); |
| 343 | 343 |
| 344 } // namespace blink | 344 } // namespace blink |
| 345 | 345 |
| 346 #endif // XMLHttpRequest_h | 346 #endif // XMLHttpRequest_h |
| OLD | NEW |