Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h

Issue 2123183002: Move crossThreadBind() from platform/ to wtf/ Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_WTFCrossThreadCopier
Patch Set: Rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698