Index: src/libplatform/default-platform.cc |
diff --git a/src/libplatform/default-platform.cc b/src/libplatform/default-platform.cc |
index 6902504d107a71eedd5a80c6292eaea5c1cfe2bd..50d8aa766a10d9b36513582ddb614783eab7a1f4 100644 |
--- a/src/libplatform/default-platform.cc |
+++ b/src/libplatform/default-platform.cc |
@@ -172,6 +172,16 @@ double DefaultPlatform::MonotonicallyIncreasingTime() { |
uint64_t DefaultPlatform::AddTraceEvent( |
char phase, const uint8_t* category_enabled_flag, const char* name, |
+ const char* scope, uint64_t id, uint64_t bind_id, int num_args, |
+ const char** arg_names, const uint8_t* arg_types, |
+ const uint64_t* arg_values, unsigned int flags) { |
+ return 0; |
+} |
+ |
+ |
+// TODO(fmeawad): Remove once all embedders implement the scope version. |
+uint64_t DefaultPlatform::AddTraceEvent( |
+ char phase, const uint8_t* category_enabled_flag, const char* name, |
uint64_t id, uint64_t bind_id, int num_args, const char** arg_names, |
const uint8_t* arg_types, const uint64_t* arg_values, unsigned int flags) { |
return 0; |
@@ -194,6 +204,7 @@ const char* DefaultPlatform::GetCategoryGroupName( |
return dummy; |
} |
+ |
size_t DefaultPlatform::NumberOfAvailableBackgroundThreads() { |
return static_cast<size_t>(thread_pool_size_); |
} |