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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.h

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ScriptPromisePropertyBase_h 5 #ifndef ScriptPromisePropertyBase_h
6 #define ScriptPromisePropertyBase_h 6 #define ScriptPromisePropertyBase_h
7 7
8 #include "bindings/core/v8/ScopedPersistent.h" 8 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/ScriptPromise.h" 9 #include "bindings/core/v8/ScriptPromise.h"
10 #include "bindings/core/v8/ScriptPromiseProperties.h" 10 #include "bindings/core/v8/ScriptPromiseProperties.h"
11 #include "core/CoreExport.h" 11 #include "core/CoreExport.h"
12 #include "core/dom/ContextLifecycleObserver.h" 12 #include "core/dom/ContextLifecycleObserver.h"
13 #include "wtf/Compiler.h" 13 #include "wtf/Compiler.h"
14 #include "wtf/OwnPtr.h" 14 #include "wtf/OwnPtr.h"
15 #include "wtf/RefCounted.h" 15 #include "wtf/RefCounted.h"
16 #include "wtf/Vector.h" 16 #include "wtf/Vector.h"
17 #include <v8.h> 17 #include <v8.h>
18 18
19 namespace blink { 19 namespace blink {
20 20
21 class DOMWrapperWorld; 21 class DOMWrapperWorld;
22 class ExecutionContext; 22 class ExecutionContext;
23 class ScriptState; 23 class ScriptState;
24 24
25 // TODO(yhirano): Remove NEVER_INLINE once we find the cause of crashes. 25 // TODO(yhirano): Remove NEVER_INLINE once we find the cause of crashes.
26 class CORE_EXPORT ScriptPromisePropertyBase : public GarbageCollectedFinalized<S criptPromisePropertyBase>, public ContextLifecycleObserver { 26 class CORE_EXPORT ScriptPromisePropertyBase : public GarbageCollectedFinalized<S criptPromisePropertyBase>, public ContextLifecycleObserver {
27 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ScriptPromisePropertyBase); 27 USING_GARBAGE_COLLECTED_MIXIN(ScriptPromisePropertyBase);
28 public: 28 public:
29 virtual ~ScriptPromisePropertyBase(); 29 virtual ~ScriptPromisePropertyBase();
30 30
31 enum Name { 31 enum Name {
32 #define P(Name) Name, 32 #define P(Name) Name,
33 SCRIPT_PROMISE_PROPERTIES(P) 33 SCRIPT_PROMISE_PROPERTIES(P)
34 #undef P 34 #undef P
35 }; 35 };
36 36
37 enum State { 37 enum State {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 v8::Isolate* m_isolate; 78 v8::Isolate* m_isolate;
79 Name m_name; 79 Name m_name;
80 State m_state; 80 State m_state;
81 81
82 WeakPersistentSet m_wrappers; 82 WeakPersistentSet m_wrappers;
83 }; 83 };
84 84
85 } // namespace blink 85 } // namespace blink
86 86
87 #endif // ScriptPromisePropertyBase_h 87 #endif // ScriptPromisePropertyBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698