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 282ade571d04bce11bf538476783194d2d5a8d3a..c1f34c9c63e3abc6f63a9c7fc133cb25b5cd4554 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" |
@@ -28,6 +30,19 @@ public: |
virtual bool formatAccessorsAsProperties(v8::Local<v8::Value>) = 0; |
virtual bool isExecutionAllowed() = 0; |
virtual double currentTimeMS() = 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 time(v8::Isolate*, const String16& title) = 0; |
+ virtual void timeEnd(v8::Isolate*, const String16& title) = 0; |
+ virtual void timeStamp(v8::Isolate*, const String16& title) = 0; |
+ |
+ virtual void profile(v8::Local<v8::Context>, const String16& title) = 0; |
+ virtual void profileEnd(v8::Local<v8::Context>, const String16& title) = 0; |
+ |
+ virtual bool hasMemoryOnConsole(v8::Local<v8::Context>) = 0; |
+ virtual v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Object> creationContext) = 0; |
}; |
} // namespace blink |