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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 void dispatchEventAndLoadEnd(const AtomicString&, bool, unsigned long long,
unsigned long long); | 67 void dispatchEventAndLoadEnd(const AtomicString&, bool, unsigned long long,
unsigned long long); |
68 void dispatchProgressEvent(unsigned long long, unsigned long long); | 68 void dispatchProgressEvent(unsigned long long, unsigned long long); |
69 | 69 |
70 void handleRequestError(const AtomicString&); | 70 void handleRequestError(const AtomicString&); |
71 | 71 |
72 virtual void trace(Visitor*) OVERRIDE; | 72 virtual void trace(Visitor*) OVERRIDE; |
73 | 73 |
74 private: | 74 private: |
75 explicit XMLHttpRequestUpload(XMLHttpRequest*); | 75 explicit XMLHttpRequestUpload(XMLHttpRequest*); |
76 | 76 |
| 77 #if !ENABLE(OILPAN) |
77 virtual void refEventTarget() OVERRIDE { ref(); } | 78 virtual void refEventTarget() OVERRIDE { ref(); } |
78 virtual void derefEventTarget() OVERRIDE { deref(); } | 79 virtual void derefEventTarget() OVERRIDE { deref(); } |
| 80 #endif |
79 | 81 |
80 RawPtrWillBeMember<XMLHttpRequest> m_xmlHttpRequest; | 82 RawPtrWillBeMember<XMLHttpRequest> m_xmlHttpRequest; |
81 EventTargetData m_eventTargetData; | 83 EventTargetData m_eventTargetData; |
82 | 84 |
83 // Last progress event values; used when issuing the | 85 // Last progress event values; used when issuing the |
84 // required 'progress' event on a request error or abort. | 86 // required 'progress' event on a request error or abort. |
85 unsigned long long m_lastBytesSent; | 87 unsigned long long m_lastBytesSent; |
86 unsigned long long m_lastTotalBytesToBeSent; | 88 unsigned long long m_lastTotalBytesToBeSent; |
87 }; | 89 }; |
88 | 90 |
89 } // namespace WebCore | 91 } // namespace WebCore |
90 | 92 |
91 #endif // XMLHttpRequestUpload_h | 93 #endif // XMLHttpRequestUpload_h |
OLD | NEW |