| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 ScriptPromiseProperties_h | 5 #ifndef ScriptPromiseProperties_h |
| 6 #define ScriptPromiseProperties_h | 6 #define ScriptPromiseProperties_h |
| 7 | 7 |
| 8 // See ScriptPromiseProperty.h | 8 // See ScriptPromiseProperty.h |
| 9 #define SCRIPT_PROMISE_PROPERTIES(P, ...) \ | 9 #define SCRIPT_PROMISE_PROPERTIES(P, ...) \ |
| 10 P(ScriptPromise, kReady##__VA_ARGS__) \ | 10 P(ScriptPromise, kReady##__VA_ARGS__) \ |
| 11 P(ScriptPromise, kClosed##__VA_ARGS__) \ | 11 P(ScriptPromise, kClosed##__VA_ARGS__) \ |
| 12 P(ScriptPromise, kFinished##__VA_ARGS__) \ | 12 P(ScriptPromise, kFinished##__VA_ARGS__) \ |
| 13 P(ScriptPromise, kLoaded##__VA_ARGS__) \ | 13 P(ScriptPromise, kLoaded##__VA_ARGS__) \ |
| 14 P(ScriptPromise, kReleased##__VA_ARGS__) \ | 14 P(ScriptPromise, kReleased##__VA_ARGS__) \ |
| 15 P(ScriptPromise, kUserChoice##__VA_ARGS__) \ | 15 P(ScriptPromise, kUserChoice##__VA_ARGS__) \ |
| 16 P(ScriptPromise, kPreloadResponse##__VA_ARGS__) | 16 P(ScriptPromise, kPreloadResponse##__VA_ARGS__) |
| 17 | 17 |
| 18 #endif // ScriptPromiseProperties_h | 18 #endif // ScriptPromiseProperties_h |
| OLD | NEW |