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

Unified Diff: src/isolate.h

Issue 2785293002: [inspector] move console to builtins (Closed)
Patch Set: removed unused variable Created 3 years, 8 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/inspector/v8-inspector-impl.cc ('k') | src/v8.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 471cf2f4afa507799de0d77704f0e57ddfb7b49b..d6d58b484bf6783cc2ee5bccb938f908022653d7 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -34,6 +34,10 @@ namespace base {
class RandomNumberGenerator;
}
+namespace debug {
+class ConsoleDelegate;
+}
+
namespace internal {
class AccessCompilerData;
@@ -749,6 +753,11 @@ class Isolate {
return MaybeHandle<T>();
}
+ void set_console_delegate(debug::ConsoleDelegate* delegate) {
+ console_delegate_ = delegate;
+ }
+ debug::ConsoleDelegate* console_delegate() { return console_delegate_; }
+
// Re-throw an exception. This involves no error reporting since error
// reporting was handled when the exception was thrown originally.
Object* ReThrow(Object* exception);
@@ -1552,6 +1561,8 @@ class Isolate {
CancelableTaskManager* cancelable_task_manager_;
+ debug::ConsoleDelegate* console_delegate_ = nullptr;
+
v8::Isolate::AbortOnUncaughtExceptionCallback
abort_on_uncaught_exception_callback_;
« no previous file with comments | « src/inspector/v8-inspector-impl.cc ('k') | src/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698