| Index: third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
|
| index f2af18bb05f828cb79e3760f4a597e74fd5b5857..618bc2d77a91b002a188c5e09d44ab9861c6aaa5 100644
|
| --- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
|
| +++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
|
| @@ -43,6 +43,7 @@ namespace blink {
|
|
|
| class LocalFrame;
|
| class SecurityOrigin;
|
| +class SourceLocation;
|
|
|
| class CORE_EXPORT MainThreadDebugger final : public ThreadDebugger {
|
| WTF_MAKE_NONCOPYABLE(MainThreadDebugger);
|
| @@ -64,10 +65,12 @@ public:
|
| InspectorTaskRunner* taskRunner() const { return m_taskRunner.get(); }
|
| bool isWorker() override { return false; }
|
| void setClientMessageLoop(std::unique_ptr<ClientMessageLoop>);
|
| + // TODO(dgozman): by making this method virtual, we can move many methods to ThreadDebugger and avoid some duplication. Should be careful about performance.
|
| int contextGroupId(LocalFrame*);
|
| void didClearContextsForFrame(LocalFrame*);
|
| void contextCreated(ScriptState*, LocalFrame*, SecurityOrigin*);
|
| void contextWillBeDestroyed(ScriptState*);
|
| + void exceptionUnhandled(LocalFrame*, const String& errorMessage, std::unique_ptr<SourceLocation>);
|
|
|
| void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::Object>) override;
|
|
|
|
|