Index: third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.h |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.h |
index bb078474f9bd92f2a93470af86c9d541249a814f..646c024f11c0fc4f82f8826d82a23ef35156901e 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.h |
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.h |
@@ -5,11 +5,13 @@ |
#ifndef V8Inspector_h |
#define V8Inspector_h |
-#include "platform/inspector_protocol/InspectorProtocol.h" |
+#include "platform/v8_inspector/public/StringView.h" |
#include "platform/v8_inspector/public/V8ContextInfo.h" |
#include <v8.h> |
+namespace blink { namespace protocol { class FrontendChannel; }} |
+ |
namespace v8_inspector { |
class V8InspectorClient; |
@@ -33,18 +35,18 @@ public: |
virtual void idleFinished() = 0; |
// Async stack traces instrumentation. |
- virtual void asyncTaskScheduled(const String16& taskName, void* task, bool recurring) = 0; |
+ virtual void asyncTaskScheduled(const StringView& taskName, void* task, bool recurring) = 0; |
virtual void asyncTaskCanceled(void* task) = 0; |
virtual void asyncTaskStarted(void* task) = 0; |
virtual void asyncTaskFinished(void* task) = 0; |
virtual void allAsyncTasksCanceled() = 0; |
// Exceptions instrumentation. |
- virtual unsigned exceptionThrown(v8::Local<v8::Context>, const String16& message, v8::Local<v8::Value> exception, const String16& detailedMessage, const String16& url, unsigned lineNumber, unsigned columnNumber, std::unique_ptr<V8StackTrace>, int scriptId) = 0; |
- virtual void exceptionRevoked(v8::Local<v8::Context>, unsigned exceptionId, const String16& message) = 0; |
+ virtual unsigned exceptionThrown(v8::Local<v8::Context>, const StringView& message, v8::Local<v8::Value> exception, const StringView& detailedMessage, const StringView& url, unsigned lineNumber, unsigned columnNumber, std::unique_ptr<V8StackTrace>, int scriptId) = 0; |
+ virtual void exceptionRevoked(v8::Local<v8::Context>, unsigned exceptionId, const StringView& message) = 0; |
// API methods. |
- virtual std::unique_ptr<V8InspectorSession> connect(int contextGroupId, blink::protocol::FrontendChannel*, const String16* state) = 0; |
+ virtual std::unique_ptr<V8InspectorSession> connect(int contextGroupId, blink::protocol::FrontendChannel*, const StringView& state) = 0; |
virtual std::unique_ptr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>) = 0; |
virtual std::unique_ptr<V8StackTrace> captureStackTrace(bool fullStack) = 0; |
}; |