| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef XMLHttpRequestUpload_h | 26 #ifndef XMLHttpRequestUpload_h |
| 27 #define XMLHttpRequestUpload_h | 27 #define XMLHttpRequestUpload_h |
| 28 | 28 |
| 29 #include "bindings/core/v8/ScriptWrappable.h" | 29 #include "bindings/core/v8/ScriptWrappable.h" |
| 30 #include "core/xmlhttprequest/XMLHttpRequest.h" | 30 #include "core/xmlhttprequest/XMLHttpRequest.h" |
| 31 #include "core/xmlhttprequest/XMLHttpRequestEventTarget.h" | 31 #include "core/xmlhttprequest/XMLHttpRequestEventTarget.h" |
| 32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
| 33 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
| 34 #include "wtf/PassOwnPtr.h" |
| 34 #include "wtf/PassRefPtr.h" | 35 #include "wtf/PassRefPtr.h" |
| 35 #include "wtf/RefPtr.h" | 36 #include "wtf/RefPtr.h" |
| 36 | 37 |
| 37 namespace blink { | 38 namespace blink { |
| 38 | 39 |
| 39 class ExecutionContext; | 40 class ExecutionContext; |
| 40 | 41 |
| 41 class XMLHttpRequestUpload final : public XMLHttpRequestEventTarget { | 42 class XMLHttpRequestUpload final : public XMLHttpRequestEventTarget { |
| 42 DEFINE_WRAPPERTYPEINFO(); | 43 DEFINE_WRAPPERTYPEINFO(); |
| 43 public: | 44 public: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 65 | 66 |
| 66 // Last progress event values; used when issuing the | 67 // Last progress event values; used when issuing the |
| 67 // required 'progress' event on a request error or abort. | 68 // required 'progress' event on a request error or abort. |
| 68 unsigned long long m_lastBytesSent; | 69 unsigned long long m_lastBytesSent; |
| 69 unsigned long long m_lastTotalBytesToBeSent; | 70 unsigned long long m_lastTotalBytesToBeSent; |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 } // namespace blink | 73 } // namespace blink |
| 73 | 74 |
| 74 #endif // XMLHttpRequestUpload_h | 75 #endif // XMLHttpRequestUpload_h |
| OLD | NEW |