Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index 86c5b4bf3f4e79ee515c587f021472d8252b3b6b..2b8aa868a49f38a5f12727cb6adaa9330bc4f016 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -467,6 +467,11 @@ class Debug { |
int NextAsyncTaskId(Handle<JSObject> promise); |
+ bool IsBlackboxed(Handle<SharedFunctionInfo> shared); |
+ |
+ void SetIsBlackboxedCallback(debug::IsBlackboxedCallback callback, |
+ void* data); |
+ |
void SetDebugEventListener(debug::DebugEventListener* listener); |
// Returns whether the operation succeeded. Compilation can only be triggered |
@@ -680,6 +685,9 @@ class Debug { |
debug::DebugEventListener* debug_event_listener_ = nullptr; |
+ debug::IsBlackboxedCallback is_blackboxed_callback_ = nullptr; |
+ void* is_blackboxed_callback_data_ = nullptr; |
+ |
static const int kQueueInitialSize = 4; |
base::Semaphore command_received_; // Signaled for each command received. |
LockingCommandMessageQueue command_queue_; |