Index: src/inspector/string-util.h |
diff --git a/src/inspector/string-util.h b/src/inspector/string-util.h |
index e1a69e8906c42b78e723d974ade9a91ab5095102..c484aab2edf6326a44953d02d32de26149ae7523 100644 |
--- a/src/inspector/string-util.h |
+++ b/src/inspector/string-util.h |
@@ -5,6 +5,9 @@ |
#ifndef V8_INSPECTOR_STRINGUTIL_H_ |
#define V8_INSPECTOR_STRINGUTIL_H_ |
+#include <memory> |
+ |
+#include "src/base/logging.h" |
#include "src/base/macros.h" |
#include "src/inspector/string-16.h" |
@@ -33,11 +36,10 @@ class StringUtil { |
static void builderReserve(StringBuilder& builder, size_t capacity) { |
builder.reserveCapacity(capacity); |
} |
+ static std::unique_ptr<protocol::Value> parseJSON(const String16& json); |
+ static std::unique_ptr<protocol::Value> parseJSON(const StringView& json); |
}; |
-std::unique_ptr<protocol::Value> parseJSON(const StringView& json); |
-std::unique_ptr<protocol::Value> parseJSON(const String16& json); |
- |
} // namespace protocol |
v8::Local<v8::String> toV8String(v8::Isolate*, const String16&); |