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

Unified Diff: src/debug/debug.h

Issue 2633803002: [inspector] implemented blackboxing inside v8 (Closed)
Patch Set: rebased 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 649603fa01e86cfadb7c92d69007318a300198dc..9515321bc2df7387d41693c352fcc1cf974c6d40 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -466,6 +466,11 @@ class Debug {
int NextAsyncTaskId(Handle<JSObject> promise);
+ void OnNewSharedFunctionInfo(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
@@ -679,6 +684,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