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

Unified Diff: src/debug/debug.h

Issue 2633803002: [inspector] implemented blackboxing inside v8 (Closed)
Patch Set: fixed tests 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
« no previous file with comments | « src/api.cc ('k') | src/debug/debug.cc » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.h
diff --git a/src/debug/debug.h b/src/debug/debug.h
index 86c5b4bf3f4e79ee515c587f021472d8252b3b6b..30858b9b92b08d2553a5fbc392615e676958f991 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -467,7 +467,9 @@ class Debug {
int NextAsyncTaskId(Handle<JSObject> promise);
- void SetDebugEventListener(debug::DebugEventListener* listener);
+ bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
+
+ void SetDebugDelegate(debug::DebugDelegate* delegate);
// Returns whether the operation succeeded. Compilation can only be triggered
// if a valid closure is passed as the second argument, otherwise the shared
@@ -678,7 +680,7 @@ class Debug {
v8::Debug::MessageHandler message_handler_;
- debug::DebugEventListener* debug_event_listener_ = nullptr;
+ debug::DebugDelegate* debug_delegate_ = nullptr;
static const int kQueueInitialSize = 4;
base::Semaphore command_received_; // Signaled for each command received.
« no previous file with comments | « src/api.cc ('k') | src/debug/debug.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698