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

Side by Side Diff: include/v8.h

Issue 2267033002: Remove --promise-extra flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix syntax for skip Created 4 years, 4 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 | « BUILD.gn ('k') | src/api.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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 3390 matching lines...) Expand 10 before | Expand all | Expand 10 after
3401 Resolver(); 3401 Resolver();
3402 static void CheckCast(Value* obj); 3402 static void CheckCast(Value* obj);
3403 }; 3403 };
3404 3404
3405 /** 3405 /**
3406 * Register a resolution/rejection handler with a promise. 3406 * Register a resolution/rejection handler with a promise.
3407 * The handler is given the respective resolution/rejection value as 3407 * The handler is given the respective resolution/rejection value as
3408 * an argument. If the promise is already resolved/rejected, the handler is 3408 * an argument. If the promise is already resolved/rejected, the handler is
3409 * invoked at the end of turn. 3409 * invoked at the end of turn.
3410 */ 3410 */
3411 V8_DEPRECATED("Use maybe version of Then",
3412 Local<Promise> Chain(Local<Function> handler));
3413 V8_DEPRECATED("Use Then",
3414 V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Chain(
3415 Local<Context> context, Local<Function> handler));
3416
3417 V8_DEPRECATED("Use maybe version", 3411 V8_DEPRECATED("Use maybe version",
3418 Local<Promise> Catch(Local<Function> handler)); 3412 Local<Promise> Catch(Local<Function> handler));
3419 V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Catch(Local<Context> context, 3413 V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Catch(Local<Context> context,
3420 Local<Function> handler); 3414 Local<Function> handler);
3421 3415
3422 V8_DEPRECATED("Use maybe version", 3416 V8_DEPRECATED("Use maybe version",
3423 Local<Promise> Then(Local<Function> handler)); 3417 Local<Promise> Then(Local<Function> handler));
3424 V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Then(Local<Context> context, 3418 V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Then(Local<Context> context,
3425 Local<Function> handler); 3419 Local<Function> handler);
3426 3420
(...skipping 5559 matching lines...) Expand 10 before | Expand all | Expand 10 after
8986 */ 8980 */
8987 8981
8988 8982
8989 } // namespace v8 8983 } // namespace v8
8990 8984
8991 8985
8992 #undef TYPE_CHECK 8986 #undef TYPE_CHECK
8993 8987
8994 8988
8995 #endif // INCLUDE_V8_H_ 8989 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698