Index: third_party/WebKit/Source/platform/v8_inspector/V8StringUtil.h |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8StringUtil.h b/third_party/WebKit/Source/platform/v8_inspector/V8StringUtil.h |
index 2245c8fed6a94124d44d04ffacad1ceaad1d1055..df2719fbff56d6f423b7b14d0c2dbacb9462779c 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8StringUtil.h |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8StringUtil.h |
@@ -7,6 +7,7 @@ |
#include "platform/inspector_protocol/InspectorProtocol.h" |
#include "platform/v8_inspector/protocol/Debugger.h" |
+#include "platform/v8_inspector/public/StringView.h" |
#include <v8.h> |
namespace v8_inspector { |
@@ -20,9 +21,15 @@ std::unique_ptr<protocol::Value> toProtocolValue(v8::Local<v8::Context>, v8::Loc |
v8::Local<v8::String> toV8String(v8::Isolate*, const String16&); |
v8::Local<v8::String> toV8StringInternalized(v8::Isolate*, const String16&); |
v8::Local<v8::String> toV8StringInternalized(v8::Isolate*, const char*); |
+v8::Local<v8::String> toV8String(v8::Isolate*, const StringView&); |
String16 toProtocolString(v8::Local<v8::String>); |
String16 toProtocolStringWithTypeCheck(v8::Local<v8::Value>); |
+String16 toString16(const StringView&); |
+StringView toStringView(const String16&); |
+ |
+bool stringViewStartsWith(const StringView&, const char*); |
+std::unique_ptr<protocol::Value> parseJSON(const StringView& json); |
String16 findSourceURL(const String16& content, bool multiline); |
String16 findSourceMapURL(const String16& content, bool multiline); |