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

Unified Diff: src/factory.h

Issue 2406343002: [promises] Move PromiseReactionJob to c++ (Closed)
Patch Set: fix promisedebugeventscope Created 4 years, 2 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
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 3d73c334ab9133dbf3dc53cc9a78dfb4e1c7c24c..75bafd554857bb632feb5b7fac17c4bcca84a864 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -60,6 +60,12 @@ class Factory final {
// Create a new boxed value.
Handle<Box> NewBox(Handle<Object> value);
+ // Create a new PromiseReactionJobInfo struct.
+ Handle<PromiseReactionJobInfo> NewPromiseReactionJobInfo(
+ Handle<Object> value, Handle<Object> tasks, Handle<Object> deferred,
+ Handle<Object> before_debug, Handle<Object> after_debug_event,
+ Handle<Context> context);
+
// Create a new PromiseContainer struct.
Handle<PromiseContainer> NewPromiseContainer(
Handle<JSReceiver> thenable, Handle<JSReceiver> then,
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698