Index: include/v8-platform.h |
diff --git a/include/v8-platform.h b/include/v8-platform.h |
index 11f8d51f02573e1f3ea32a2efba21635ffa25e6d..f5f56641b63017d3862d575366da4994b3dd458c 100644 |
--- a/include/v8-platform.h |
+++ b/include/v8-platform.h |
@@ -152,6 +152,21 @@ class Platform { |
*/ |
virtual uint64_t AddTraceEvent( |
char phase, const uint8_t* category_enabled_flag, const char* name, |
+ const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, |
+ const char** arg_names, const uint8_t* arg_types, |
+ const uint64_t* arg_values, unsigned int flags) { |
+ return AddTraceEvent(phase, category_enabled_flag, name, id, bind_id, |
+ num_args, arg_names, arg_types, arg_values, flags); |
+ } |
+ |
+ /** |
+ * This method will soon be depreacted in favor of the version with the 'const |
+ * char* scope' parameter. If you do not already override this method, please |
+ * implement the other version instead. |
+ */ |
+ // TODO(fmeawad): Remove once all embedders implement the scope version. |
+ virtual uint64_t AddTraceEvent( |
+ char phase, const uint8_t* category_enabled_flag, const char* name, |
uint64_t id, uint64_t bind_id, int32_t num_args, const char** arg_names, |
const uint8_t* arg_types, const uint64_t* arg_values, |
unsigned int flags) { |