Chromium Code Reviews| Index: third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h |
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h |
| index 1f2f4b65f35ed1de6ee803d8bf177a9e32207036..e1f85fbf66ec8ef4388c7c6e5858d207049d6c83 100644 |
| --- a/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h |
| +++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h |
| @@ -6,6 +6,8 @@ |
| #define V8DebuggerClient_h |
| #include "platform/PlatformExport.h" |
| +#include "platform/v8_inspector/public/ConsoleAPITypes.h" |
| +#include "platform/v8_inspector/public/ConsoleTypes.h" |
| #include "platform/v8_inspector/public/V8ContextInfo.h" |
| #include "platform/v8_inspector/public/V8EventListenerInfo.h" |
| @@ -29,6 +31,15 @@ public: |
| virtual bool isExecutionAllowed() = 0; |
| virtual double currentTimeMS() = 0; |
| virtual int ensureDefaultContextInGroup(int contextGroupId) = 0; |
| + |
| + virtual void reportMessageToConsole(v8::Local<v8::Context>, MessageType, MessageLevel, const v8::FunctionCallbackInfo<v8::Value>& arguments, unsigned skipArgumentCount) = 0; |
| + virtual void reportMessageToConsole(v8::Local<v8::Context>, MessageType, MessageLevel, const String16& text) = 0; |
| + |
| + virtual void consoleTime(v8::Isolate*, const String16& title) = 0; |
|
dgozman
2016/04/12 03:32:16
Why do we pass isolate? Client knows about it.
kozy
2016/04/12 21:58:32
Done.
|
| + virtual void consoleTimeEnd(v8::Isolate*, const String16& title) = 0; |
| + virtual void consoleTimeStamp(v8::Isolate*, const String16& title) = 0; |
| + |
| + virtual v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Object> creationContext) = 0; |
| }; |
| } // namespace blink |