| 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 ScriptPromiseResolver_h | 5 #ifndef SKY_ENGINE_BINDINGS_CORE_V8_SCRIPTPROMISERESOLVER_H_ |
| 6 #define ScriptPromiseResolver_h | 6 #define SKY_ENGINE_BINDINGS_CORE_V8_SCRIPTPROMISERESOLVER_H_ |
| 7 | 7 |
| 8 #include "sky/engine/bindings/core/v8/ScopedPersistent.h" | 8 #include "sky/engine/bindings/core/v8/ScopedPersistent.h" |
| 9 #include "sky/engine/bindings/core/v8/ScriptPromise.h" | 9 #include "sky/engine/bindings/core/v8/ScriptPromise.h" |
| 10 #include "sky/engine/bindings/core/v8/ScriptState.h" | 10 #include "sky/engine/bindings/core/v8/ScriptState.h" |
| 11 #include "sky/engine/bindings/core/v8/V8Binding.h" | 11 #include "sky/engine/bindings/core/v8/V8Binding.h" |
| 12 #include "sky/engine/core/dom/ActiveDOMObject.h" | 12 #include "sky/engine/core/dom/ActiveDOMObject.h" |
| 13 #include "sky/engine/core/dom/ExecutionContext.h" | 13 #include "sky/engine/core/dom/ExecutionContext.h" |
| 14 #include "sky/engine/platform/Timer.h" | 14 #include "sky/engine/platform/Timer.h" |
| 15 #include "sky/engine/wtf/RefCounted.h" | 15 #include "sky/engine/wtf/RefCounted.h" |
| 16 #include "v8/include/v8.h" | 16 #include "v8/include/v8.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 Resolver m_resolver; | 137 Resolver m_resolver; |
| 138 ScopedPersistent<v8::Value> m_value; | 138 ScopedPersistent<v8::Value> m_value; |
| 139 #if ENABLE(ASSERT) | 139 #if ENABLE(ASSERT) |
| 140 // True if promise() is called. | 140 // True if promise() is called. |
| 141 bool m_isPromiseCalled; | 141 bool m_isPromiseCalled; |
| 142 #endif | 142 #endif |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 } // namespace blink | 145 } // namespace blink |
| 146 | 146 |
| 147 #endif // #ifndef ScriptPromiseResolver_h | 147 #endif // SKY_ENGINE_BINDINGS_CORE_V8_SCRIPTPROMISERESOLVER_H_ |
| OLD | NEW |