| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef FormDataBytesConsumer_h | 5 #ifndef FormDataBytesConsumer_h |
| 6 #define FormDataBytesConsumer_h | 6 #define FormDataBytesConsumer_h |
| 7 | 7 |
| 8 #include "modules/ModulesExport.h" | 8 #include "modules/ModulesExport.h" |
| 9 #include "modules/fetch/BytesConsumer.h" | 9 #include "modules/fetch/BytesConsumer.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 #include "wtf/Forward.h" | 11 #include "platform/wtf/Forward.h" |
| 12 #include "wtf/PassRefPtr.h" | 12 #include "platform/wtf/PassRefPtr.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class DOMArrayBuffer; | 16 class DOMArrayBuffer; |
| 17 class DOMArrayBufferView; | 17 class DOMArrayBufferView; |
| 18 class EncodedFormData; | 18 class EncodedFormData; |
| 19 | 19 |
| 20 class FormDataBytesConsumer final : public BytesConsumer { | 20 class FormDataBytesConsumer final : public BytesConsumer { |
| 21 public: | 21 public: |
| 22 explicit MODULES_EXPORT FormDataBytesConsumer(const String&); | 22 explicit MODULES_EXPORT FormDataBytesConsumer(const String&); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 MODULES_EXPORT FormDataBytesConsumer(ExecutionContext*, | 67 MODULES_EXPORT FormDataBytesConsumer(ExecutionContext*, |
| 68 PassRefPtr<EncodedFormData>, | 68 PassRefPtr<EncodedFormData>, |
| 69 BytesConsumer*); | 69 BytesConsumer*); |
| 70 | 70 |
| 71 const Member<BytesConsumer> impl_; | 71 const Member<BytesConsumer> impl_; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace blink | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif // FormDataBytesConsumer_h | 76 #endif // FormDataBytesConsumer_h |
| OLD | NEW |