Chromium Code Reviews| Index: third_party/WebKit/Source/core/inspector/ThreadDebugger.h |
| diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.h b/third_party/WebKit/Source/core/inspector/ThreadDebugger.h |
| index 9fb7632c0b152504152d2b219019d5f0282029ef..8335627b88b72c0e37e398de4e078e4aaafccd1f 100644 |
| --- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.h |
| +++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.h |
| @@ -14,6 +14,7 @@ |
| namespace blink { |
| +class ConsoleMessage; |
|
dgozman
2016/04/08 18:18:46
Remove.
kozy
2016/04/08 23:56:50
It is used by reportMessageToConsole method.
|
| class WorkerThread; |
| class CORE_EXPORT ThreadDebugger : public V8DebuggerClient { |
| @@ -32,7 +33,18 @@ public: |
| V8Debugger* debugger() const { return m_debugger.get(); } |
| virtual bool isWorker() { return true; } |
| + void reportMessageToConsole(v8::Local<v8::Context>, MessageType, MessageLevel, const v8::FunctionCallbackInfo<v8::Value>& arguments, unsigned skipArgumentCount) final; |
| + void reportMessageToConsole(v8::Local<v8::Context>, MessageType, MessageLevel, const String16& text) final; |
| + |
| + void time(v8::Isolate*, const String16& title) override; |
|
dgozman
2016/04/08 18:18:46
consoleTime
kozy
2016/04/08 23:56:51
Done.
|
| + void timeEnd(v8::Isolate*, const String16& title) override; |
|
dgozman
2016/04/08 18:18:46
consoleTimeEnd
kozy
2016/04/08 23:56:51
Done.
|
| + void timeStamp(v8::Isolate*, const String16& title) override; |
|
dgozman
2016/04/08 18:18:46
consoleTimeStamp
kozy
2016/04/08 23:56:50
Done.
|
| + |
| + void profile(v8::Local<v8::Context>, const String16& title) override; |
| + void profileEnd(v8::Local<v8::Context>, const String16& title) override; |
| protected: |
| + virtual void reportMessageToConsole(v8::Local<v8::Context>, ConsoleMessage*) = 0; |
| + |
| v8::Isolate* m_isolate; |
| OwnPtr<V8Debugger> m_debugger; |
| }; |