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

Unified Diff: src/debug/debug-interface.h

Issue 2623313005: [inspector] introduced debug::SetAsyncTaskListener (Closed)
Patch Set: Created 3 years, 11 months 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/debug/debug-interface.h
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
index b4216d7a54106dfd7ba24d0aa4f32e33a1f81686..8485236d1e56c9b16ed9eee9f7b8d34b60b2b978 100644
--- a/src/debug/debug-interface.h
+++ b/src/debug/debug-interface.h
@@ -202,6 +202,12 @@ void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts);
MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
Local<String> source);
+typedef void (*AsyncTaskListener)(debug::PromiseDebugActionType type, int id,
+ debug::PromiseDebugActionName name,
+ void* data);
+void SetAsyncTaskListener(Isolate* isolate, AsyncTaskListener listener,
+ void* data);
+
} // namespace debug
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698