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

Unified Diff: Source/bindings/v8/custom/V8PromiseCustom.h

Issue 18113004: Implement Promise.prototype.then and Promise.prototype.catch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/v8/custom/V8PromiseCustom.h
diff --git a/Source/bindings/v8/custom/V8PromiseCustom.h b/Source/bindings/v8/custom/V8PromiseCustom.h
index 066d1059c36a0a9cff896dcc038032a5e573049a..69f95a1283a080569871c96fad96c01e08ec2d34 100644
--- a/Source/bindings/v8/custom/V8PromiseCustom.h
+++ b/Source/bindings/v8/custom/V8PromiseCustom.h
@@ -39,6 +39,13 @@ public:
InternalFieldCount, // This entry must always be at the bottom.
};
+ enum WrapperCallbackEnvironmentFieldIndex {
+ WrapperCallbackEnvironmentPromiseIndex,
+ WrapperCallbackEnvironmentPromiseResolverIndex,
+ WrapperCallbackEnvironmentCallbackIndex,
+ WrapperCallbackEnvironmentFieldCount, // This entry must always be at the bottom.
+ };
+
enum PromiseAlgorithm {
FulfillAlgorithm,
ResolveAlgorithm,
« no previous file with comments | « LayoutTests/fast/js/Promise-then-without-callbacks-expected.txt ('k') | Source/bindings/v8/custom/V8PromiseCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698