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

Unified Diff: src/debug/debug.h

Issue 2633803002: [inspector] implemented blackboxing inside v8 (Closed)
Patch Set: one more test 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.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_;

Powered by Google App Engine
This is Rietveld 408576698