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" | |
35 #include "wtf/PassRefPtr.h" | 34 #include "wtf/PassRefPtr.h" |
36 #include "wtf/RefPtr.h" | 35 #include "wtf/RefPtr.h" |
37 | 36 |
38 namespace blink { | 37 namespace blink { |
39 | 38 |
40 class ExecutionContext; | 39 class ExecutionContext; |
41 | 40 |
42 class XMLHttpRequestUpload final : public XMLHttpRequestEventTarget { | 41 class XMLHttpRequestUpload final : public XMLHttpRequestEventTarget { |
43 DEFINE_WRAPPERTYPEINFO(); | 42 DEFINE_WRAPPERTYPEINFO(); |
44 public: | 43 public: |
(...skipping 20 matching lines...) Expand all Loading... | |
65 Member<XMLHttpRequest> m_xmlHttpRequest; | 64 Member<XMLHttpRequest> m_xmlHttpRequest; |
66 | 65 |
67 // Last progress event values; used when issuing the | 66 // Last progress event values; used when issuing the |
68 // required 'progress' event on a request error or abort. | 67 // required 'progress' event on a request error or abort. |
69 unsigned long long m_lastBytesSent; | 68 unsigned long long m_lastBytesSent; |
70 unsigned long long m_lastTotalBytesToBeSent; | 69 unsigned long long m_lastTotalBytesToBeSent; |
71 }; | 70 }; |
72 | 71 |
73 } // namespace blink | 72 } // namespace blink |
74 | 73 |
75 #endif // XMLHttpRequestUpload_h | 74 #endif // XMLHttpRequestUpload_h |
tzik
2016/06/15 12:49:38
----✂----
Just a progress report. I looked this fi
| |
OLD | NEW |