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

Unified Diff: src/debug/debug.h

Issue 2633803002: [inspector] implemented blackboxing inside v8 (Closed)
Patch Set: addressed comments 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') | no next file with comments »
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 cd0a9fdffb8a9fe06f3e6f09b66a1c278402abf3..e8168b3a0bc77600942786a0bb2f2a3cbc17ec6f 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -356,7 +356,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
@@ -494,6 +496,8 @@ class Debug {
return !event_listener_.is_null() && !event_listener_->IsForeign();
}
+ bool IsBlackboxed(SharedFunctionInfo* shared);
+
void OnException(Handle<Object> exception, Handle<Object> promise);
// Constructors for debug event objects.
@@ -554,7 +558,7 @@ class Debug {
Handle<Object> event_listener_;
Handle<Object> event_listener_data_;
- debug::DebugEventListener* debug_event_listener_ = nullptr;
+ debug::DebugDelegate* debug_delegate_ = nullptr;
// Debugger is active, i.e. there is a debug event listener attached.
bool is_active_;
« no previous file with comments | « src/api.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698