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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ScriptState* scriptState() { return m_scriptState.get(); } 66 ScriptState* scriptState() { return m_scriptState.get(); }
67 v8::Isolate* isolate() { return m_isolateHolder->isolate(); } 67 v8::Isolate* isolate() { return m_isolateHolder->isolate(); }
68 68
69 private: 69 private:
70 void initialize(); 70 void initialize();
71 void shutdown(); 71 void shutdown();
72 72
73 OwnPtr<WebThreadSupportingGC> m_thread; 73 OwnPtr<WebThreadSupportingGC> m_thread;
74 const InitializationPolicy m_initializationPolicy; 74 const InitializationPolicy m_initializationPolicy;
75 OwnPtr<WebWaitableEvent> m_waitableEvent; 75 OwnPtr<WebWaitableEvent> m_waitableEvent;
76 RefPtrWillBePersistent<NullExecutionContext> m_executionContext; 76 Persistent<NullExecutionContext> m_executionContext;
77 OwnPtr<gin::IsolateHolder> m_isolateHolder; 77 OwnPtr<gin::IsolateHolder> m_isolateHolder;
78 RefPtr<ScriptState> m_scriptState; 78 RefPtr<ScriptState> m_scriptState;
79 }; 79 };
80 80
81 class ThreadingTestBase : public ThreadSafeRefCounted<ThreadingTestBase> { 81 class ThreadingTestBase : public ThreadSafeRefCounted<ThreadingTestBase> {
82 public: 82 public:
83 virtual ~ThreadingTestBase() { } 83 virtual ~ThreadingTestBase() { }
84 84
85 class ThreadHolder; 85 class ThreadHolder;
86 86
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 OwnPtr<HandleReadResult> m_result; 535 OwnPtr<HandleReadResult> m_result;
536 bool m_isDone; 536 bool m_isDone;
537 537
538 OwnPtr<T> m_handleReader; 538 OwnPtr<T> m_handleReader;
539 }; 539 };
540 }; 540 };
541 541
542 } // namespace blink 542 } // namespace blink
543 543
544 #endif // DataConsumerHandleTestUtil_h 544 #endif // DataConsumerHandleTestUtil_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698