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 BytesConsumerForDataConsumerHandle_h | 5 #ifndef BytesConsumerForDataConsumerHandle_h |
6 #define BytesConsumerForDataConsumerHandle_h | 6 #define BytesConsumerForDataConsumerHandle_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 "modules/fetch/FetchFormDataConsumerHandle.h" | 10 #include "modules/fetch/FetchDataConsumerHandle.h" |
11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
12 #include "public/platform/WebDataConsumerHandle.h" | 12 #include "public/platform/WebDataConsumerHandle.h" |
13 #include "wtf/PassRefPtr.h" | 13 #include "wtf/PassRefPtr.h" |
14 #include "wtf/text/WTFString.h" | 14 #include "wtf/text/WTFString.h" |
15 | 15 |
16 #include <memory> | 16 #include <memory> |
17 | 17 |
18 namespace blink { | 18 namespace blink { |
19 | 19 |
20 class ExecutionContext; | 20 class ExecutionContext; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 Member<BytesConsumer::Client> m_client; | 57 Member<BytesConsumer::Client> m_client; |
58 InternalState m_state = InternalState::Waiting; | 58 InternalState m_state = InternalState::Waiting; |
59 Error m_error; | 59 Error m_error; |
60 bool m_isInTwoPhaseRead = false; | 60 bool m_isInTwoPhaseRead = false; |
61 bool m_hasPendingNotification = false; | 61 bool m_hasPendingNotification = false; |
62 }; | 62 }; |
63 | 63 |
64 } // namespace blink | 64 } // namespace blink |
65 | 65 |
66 #endif // BytesConsumerForDataConsumerHandle_h | 66 #endif // BytesConsumerForDataConsumerHandle_h |
OLD | NEW |