Index: test/inspector/inspector-impl.h |
diff --git a/test/inspector/inspector-impl.h b/test/inspector/inspector-impl.h |
index 0ed0d9dc52b22d3005c5cb5f03d1db37b15e5fad..4312de9bbbb01770771858d5dd3741ad80b803e8 100644 |
--- a/test/inspector/inspector-impl.h |
+++ b/test/inspector/inspector-impl.h |
@@ -39,6 +39,7 @@ class InspectorClientImpl : public v8_inspector::V8InspectorClient { |
v8_inspector::V8InspectorSession* session(int context_group_id = 0); |
void setCurrentTimeMSForTest(double time); |
+ void setMemoryInfoForTest(v8::Local<v8::Value> memory_info); |
private: |
// V8InspectorClient implementation. |
@@ -46,6 +47,8 @@ class InspectorClientImpl : public v8_inspector::V8InspectorClient { |
v8::Local<v8::Context> ensureDefaultContextInGroup( |
int context_group_id) override; |
double currentTimeMS() override; |
+ v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate* isolate, |
+ v8::Local<v8::Context>) override; |
void runMessageLoopOnPause(int context_group_id) override; |
void quitMessageLoopOnPause() override; |
@@ -65,6 +68,7 @@ class InspectorClientImpl : public v8_inspector::V8InspectorClient { |
std::map<int, std::unique_ptr<v8_inspector::StringBuffer>> states_; |
v8::Isolate* isolate_; |
+ v8::Global<v8::Value> memory_info_; |
TaskRunner* task_runner_; |
FrontendChannel* frontend_channel_; |