#include <v8-profiler.h>
Callback interface for retrieving user friendly names of a V8::Context objects.
◆ ~ContextNameResolver()
virtual v8::HeapProfiler::ContextNameResolver::~ContextNameResolver |
( |
| ) |
|
|
protectedvirtualdefault |
◆ GetName()
virtual const char * v8::HeapProfiler::ContextNameResolver::GetName |
( |
Local< Context > |
context | ) |
|
|
pure virtual |
Returns name to be used in the heap snapshot for given node. Returned string must stay alive until snapshot collection is completed. If no user friendly name is available return nullptr.
The documentation for this class was generated from the following file: