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

Side by Side Diff: src/isolate.h

Issue 2412263002: [promises] rename PromiseContainer to PromiseResolveThenableJobInfo (Closed)
Patch Set: fix build 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 unified diff | Download patch
« no previous file with comments | « src/factory.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project 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 V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback); 1105 void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
1106 void FireMicrotasksCompletedCallback(); 1106 void FireMicrotasksCompletedCallback();
1107 1107
1108 void SetPromiseRejectCallback(PromiseRejectCallback callback); 1108 void SetPromiseRejectCallback(PromiseRejectCallback callback);
1109 void ReportPromiseReject(Handle<JSObject> promise, Handle<Object> value, 1109 void ReportPromiseReject(Handle<JSObject> promise, Handle<Object> value,
1110 v8::PromiseRejectEvent event); 1110 v8::PromiseRejectEvent event);
1111 1111
1112 void PromiseReactionJob(Handle<PromiseReactionJobInfo> info, 1112 void PromiseReactionJob(Handle<PromiseReactionJobInfo> info,
1113 MaybeHandle<Object>* result, 1113 MaybeHandle<Object>* result,
1114 MaybeHandle<Object>* maybe_exception); 1114 MaybeHandle<Object>* maybe_exception);
1115 void PromiseResolveThenableJob(Handle<PromiseContainer> container, 1115 void PromiseResolveThenableJob(Handle<PromiseResolveThenableJobInfo> info,
1116 MaybeHandle<Object>* result, 1116 MaybeHandle<Object>* result,
1117 MaybeHandle<Object>* maybe_exception); 1117 MaybeHandle<Object>* maybe_exception);
1118 void EnqueueMicrotask(Handle<Object> microtask); 1118 void EnqueueMicrotask(Handle<Object> microtask);
1119 void RunMicrotasks(); 1119 void RunMicrotasks();
1120 bool IsRunningMicrotasks() const { return is_running_microtasks_; } 1120 bool IsRunningMicrotasks() const { return is_running_microtasks_; }
1121 1121
1122 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); 1122 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback);
1123 void CountUsage(v8::Isolate::UseCounterFeature feature); 1123 void CountUsage(v8::Isolate::UseCounterFeature feature);
1124 1124
1125 BasicBlockProfiler* GetOrCreateBasicBlockProfiler(); 1125 BasicBlockProfiler* GetOrCreateBasicBlockProfiler();
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1685 1685
1686 EmbeddedVector<char, 128> filename_; 1686 EmbeddedVector<char, 128> filename_;
1687 FILE* file_; 1687 FILE* file_;
1688 int scope_depth_; 1688 int scope_depth_;
1689 }; 1689 };
1690 1690
1691 } // namespace internal 1691 } // namespace internal
1692 } // namespace v8 1692 } // namespace v8
1693 1693
1694 #endif // V8_ISOLATE_H_ 1694 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698