| OLD | NEW |
| 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 <v8.h> |
| 9 #include <memory> |
| 8 #include "bindings/core/v8/ScopedPersistent.h" | 10 #include "bindings/core/v8/ScopedPersistent.h" |
| 9 #include "bindings/core/v8/ScriptPromise.h" | 11 #include "bindings/core/v8/ScriptPromise.h" |
| 10 #include "bindings/core/v8/ScriptPromiseProperties.h" | 12 #include "bindings/core/v8/ScriptPromiseProperties.h" |
| 11 #include "core/CoreExport.h" | 13 #include "core/CoreExport.h" |
| 12 #include "core/dom/ContextLifecycleObserver.h" | 14 #include "core/dom/ContextLifecycleObserver.h" |
| 13 #include "wtf/Compiler.h" | 15 #include "wtf/Compiler.h" |
| 14 #include "wtf/RefCounted.h" | 16 #include "wtf/RefCounted.h" |
| 15 #include "wtf/Vector.h" | 17 #include "wtf/Vector.h" |
| 16 #include <memory> | |
| 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 | 26 class CORE_EXPORT ScriptPromisePropertyBase |
| 27 : public GarbageCollectedFinalized<ScriptPromisePropertyBase>, | 27 : public GarbageCollectedFinalized<ScriptPromisePropertyBase>, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 v8::Isolate* m_isolate; | 88 v8::Isolate* m_isolate; |
| 89 Name m_name; | 89 Name m_name; |
| 90 State m_state; | 90 State m_state; |
| 91 | 91 |
| 92 WeakPersistentSet m_wrappers; | 92 WeakPersistentSet m_wrappers; |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace blink | 95 } // namespace blink |
| 96 | 96 |
| 97 #endif // ScriptPromisePropertyBase_h | 97 #endif // ScriptPromisePropertyBase_h |
| OLD | NEW |