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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h

Issue 2116563003: [DevTools] Report unhandled exceptions and promise rejections through Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after ExceptionDetails change Created 4 years, 5 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: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
index b95f354622890def5875e4e33e1900a5b22ab9e0..ba96fd907508a07b9d8f54d5190da1a8294675ca 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
@@ -31,13 +31,15 @@
#ifndef WorkerThreadDebugger_h
#define WorkerThreadDebugger_h
+#include "core/CoreExport.h"
#include "core/inspector/ThreadDebugger.h"
namespace blink {
+class SourceLocation;
class WorkerThread;
-class WorkerThreadDebugger final : public ThreadDebugger {
+class CORE_EXPORT WorkerThreadDebugger final : public ThreadDebugger {
WTF_MAKE_NONCOPYABLE(WorkerThreadDebugger);
public:
explicit WorkerThreadDebugger(WorkerThread*, v8::Isolate*);
@@ -48,6 +50,7 @@ public:
int contextGroupId();
void contextCreated(v8::Local<v8::Context>);
void contextWillBeDestroyed(v8::Local<v8::Context>);
+ void exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocation>);
// V8DebuggerClient implementation.
void runMessageLoopOnPause(int contextGroupId) override;

Powered by Google App Engine
This is Rietveld 408576698