Chromium Code Reviews| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 107 // ScriptWrappable | 107 // ScriptWrappable |
| 108 bool hasPendingActivity() const final; | 108 bool hasPendingActivity() const final; |
| 109 | 109 |
| 110 // XMLHttpRequestEventTarget | 110 // XMLHttpRequestEventTarget |
| 111 const AtomicString& interfaceName() const override; | 111 const AtomicString& interfaceName() const override; |
| 112 | 112 |
| 113 // JavaScript attributes and methods | 113 // JavaScript attributes and methods |
| 114 const KURL& url() const { return m_url; } | 114 const KURL& url() const { return m_url; } |
| 115 String statusText() const; | 115 String statusText() const; |
| 116 int status() const; | 116 int status() const; |
| 117 State readyState() const; | 117 State getReadyState() const; |
|
Łukasz Anforowicz
2016/12/12 22:43:49
This rename is probably not needed.
| |
| 118 bool withCredentials() const { return m_includeCredentials; } | 118 bool withCredentials() const { return m_includeCredentials; } |
| 119 void setWithCredentials(bool, ExceptionState&); | 119 void setWithCredentials(bool, ExceptionState&); |
| 120 void open(const AtomicString& method, const String& url, ExceptionState&); | 120 void open(const AtomicString& method, const String& url, ExceptionState&); |
| 121 void open(const AtomicString& method, | 121 void open(const AtomicString& method, |
| 122 const String& url, | 122 const String& url, |
| 123 bool async, | 123 bool async, |
| 124 const String& username, | 124 const String& username, |
| 125 const String& password, | 125 const String& password, |
| 126 ExceptionState&); | 126 ExceptionState&); |
| 127 void open(const AtomicString& method, | 127 void open(const AtomicString& method, |
| (...skipping 209 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 |