| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "bindings/core/v8/ScopedPersistent.h" | 10 #include "bindings/core/v8/ScopedPersistent.h" |
| 11 #include "bindings/core/v8/ScriptPromise.h" | 11 #include "bindings/core/v8/ScriptPromise.h" |
| 12 #include "bindings/core/v8/ScriptPromiseProperties.h" | 12 #include "bindings/core/v8/ScriptPromiseProperties.h" |
| 13 #include "core/CoreExport.h" | 13 #include "core/CoreExport.h" |
| 14 #include "core/dom/ContextLifecycleObserver.h" | 14 #include "core/dom/ContextLifecycleObserver.h" |
| 15 #include "platform/wtf/Compiler.h" |
| 16 #include "platform/wtf/RefCounted.h" |
| 17 #include "platform/wtf/Vector.h" |
| 15 #include "v8/include/v8.h" | 18 #include "v8/include/v8.h" |
| 16 #include "wtf/Compiler.h" | |
| 17 #include "wtf/RefCounted.h" | |
| 18 #include "wtf/Vector.h" | |
| 19 | 19 |
| 20 namespace blink { | 20 namespace blink { |
| 21 | 21 |
| 22 class DOMWrapperWorld; | 22 class DOMWrapperWorld; |
| 23 class ExecutionContext; | 23 class ExecutionContext; |
| 24 class ScriptState; | 24 class ScriptState; |
| 25 | 25 |
| 26 // TODO(yhirano): Remove NEVER_INLINE once we find the cause of crashes. | 26 // TODO(yhirano): Remove NEVER_INLINE once we find the cause of crashes. |
| 27 class CORE_EXPORT ScriptPromisePropertyBase | 27 class CORE_EXPORT ScriptPromisePropertyBase |
| 28 : public GarbageCollectedFinalized<ScriptPromisePropertyBase>, | 28 : public GarbageCollectedFinalized<ScriptPromisePropertyBase>, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 v8::Isolate* m_isolate; | 89 v8::Isolate* m_isolate; |
| 90 Name m_name; | 90 Name m_name; |
| 91 State m_state; | 91 State m_state; |
| 92 | 92 |
| 93 WeakPersistentSet m_wrappers; | 93 WeakPersistentSet m_wrappers; |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace blink | 96 } // namespace blink |
| 97 | 97 |
| 98 #endif // ScriptPromisePropertyBase_h | 98 #endif // ScriptPromisePropertyBase_h |
| OLD | NEW |