Commit 747d198c authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[api] Deprecate HeapProfiler::SetGetRetainerInfosCallback.

The embedders should use the new EmbedderGraph API to provide retainer
info.

Bug: chromium:749490
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: Iac8dc1e749ef14277b027f43e799357c5bd413ea
Reviewed-on: https://chromium-review.googlesource.com/948489
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52059}
parent ea2007d8
......@@ -877,11 +877,13 @@ class V8_EXPORT HeapProfiler {
void DeleteAllHeapSnapshots();
/** Binds a callback to embedder's class ID. */
void SetWrapperClassInfoProvider(
uint16_t class_id,
WrapperInfoCallback callback);
void SetWrapperClassInfoProvider(uint16_t class_id,
WrapperInfoCallback callback);
V8_DEPRECATED(
"Use SetBuildEmbedderGraphCallback to provide info about embedder nodes",
void SetGetRetainerInfosCallback(GetRetainerInfosCallback callback));
void SetGetRetainerInfosCallback(GetRetainerInfosCallback callback);
void SetBuildEmbedderGraphCallback(BuildEmbedderGraphCallback callback);
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment