| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 DataConsumerHandleTestUtil_h | 5 #ifndef DataConsumerHandleTestUtil_h |
| 6 #define DataConsumerHandleTestUtil_h | 6 #define DataConsumerHandleTestUtil_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptState.h" | 8 #include "bindings/core/v8/ScriptState.h" |
| 9 #include "core/testing/NullExecutionContext.h" | 9 #include "core/testing/NullExecutionContext.h" |
| 10 #include "gin/public/isolate_holder.h" | 10 #include "gin/public/isolate_holder.h" |
| 11 #include "modules/fetch/DataConsumerHandleUtil.h" | 11 #include "modules/fetch/DataConsumerHandleUtil.h" |
| 12 #include "modules/fetch/FetchDataConsumerHandle.h" | 12 #include "modules/fetch/FetchDataConsumerHandle.h" |
| 13 #include "modules/fetch/FetchDataLoader.h" | 13 #include "modules/fetch/FetchDataLoader.h" |
| 14 #include "platform/CrossThreadFunctional.h" | |
| 15 #include "platform/WaitableEvent.h" | 14 #include "platform/WaitableEvent.h" |
| 16 #include "platform/WebThreadSupportingGC.h" | 15 #include "platform/WebThreadSupportingGC.h" |
| 17 #include "platform/heap/Handle.h" | 16 #include "platform/heap/Handle.h" |
| 18 #include "public/platform/Platform.h" | 17 #include "public/platform/Platform.h" |
| 19 #include "public/platform/WebDataConsumerHandle.h" | 18 #include "public/platform/WebDataConsumerHandle.h" |
| 20 #include "public/platform/WebTraceLocation.h" | 19 #include "public/platform/WebTraceLocation.h" |
| 21 #include "wtf/Deque.h" | 20 #include "wtf/Deque.h" |
| 21 #include "wtf/Functional.h" |
| 22 #include "wtf/Locker.h" | 22 #include "wtf/Locker.h" |
| 23 #include "wtf/PtrUtil.h" | 23 #include "wtf/PtrUtil.h" |
| 24 #include "wtf/ThreadSafeRefCounted.h" | 24 #include "wtf/ThreadSafeRefCounted.h" |
| 25 #include "wtf/ThreadingPrimitives.h" | 25 #include "wtf/ThreadingPrimitives.h" |
| 26 #include "wtf/Vector.h" | 26 #include "wtf/Vector.h" |
| 27 #include <gmock/gmock.h> | 27 #include <gmock/gmock.h> |
| 28 #include <gtest/gtest.h> | 28 #include <gtest/gtest.h> |
| 29 #include <memory> | 29 #include <memory> |
| 30 #include <v8.h> | 30 #include <v8.h> |
| 31 | 31 |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 std::unique_ptr<HandleReadResult> m_result; | 533 std::unique_ptr<HandleReadResult> m_result; |
| 534 bool m_isDone; | 534 bool m_isDone; |
| 535 | 535 |
| 536 std::unique_ptr<T> m_handleReader; | 536 std::unique_ptr<T> m_handleReader; |
| 537 }; | 537 }; |
| 538 }; | 538 }; |
| 539 | 539 |
| 540 } // namespace blink | 540 } // namespace blink |
| 541 | 541 |
| 542 #endif // DataConsumerHandleTestUtil_h | 542 #endif // DataConsumerHandleTestUtil_h |
| OLD | NEW |