Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Unified Diff: src/inspector/v8-inspector-impl.h

Issue 2579403002: [inspector] introduce limit for amount of stored async stacks (Closed)
Patch Set: added missing test Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/inspector/v8-inspector-impl.h
diff --git a/src/inspector/v8-inspector-impl.h b/src/inspector/v8-inspector-impl.h
index f98747543b4b48ed3e40470f3e7e88050c56a91e..8904b100117842333dea56dd28a59a2ba6c16b14 100644
--- a/src/inspector/v8-inspector-impl.h
+++ b/src/inspector/v8-inspector-impl.h
@@ -126,6 +126,8 @@ class V8InspectorImpl : public V8Inspector {
V8RuntimeAgentImpl* enabledRuntimeAgentForGroup(int contextGroupId);
V8ProfilerAgentImpl* enabledProfilerAgentForGroup(int contextGroupId);
+ V8_EXPORT void setMaxAsyncTaskStacksForTest(int limit);
+
private:
v8::MaybeLocal<v8::Value> callFunction(
v8::Local<v8::Function>, v8::Local<v8::Context>,

Powered by Google App Engine
This is Rietveld 408576698