Index: third_party/WebKit/Source/core/inspector/v8/V8StringUtil.h |
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8StringUtil.h b/third_party/WebKit/Source/core/inspector/v8/V8StringUtil.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..24b8f696ab4c02af7a6456e745f2f6034ab07e4b |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/inspector/v8/V8StringUtil.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef V8StringUtil_h |
+#define V8StringUtil_h |
+ |
+#include "wtf/text/WTFString.h" |
+#include <v8.h> |
+ |
+namespace blink { |
+ |
+v8::Local<v8::String> toV8String(v8::Isolate*, const String&); |
+v8::Local<v8::String> toV8StringInternalized(v8::Isolate*, const String&); |
+ |
+String toWTFString(v8::Local<v8::String>); |
+String toWTFStringWithTypeCheck(v8::Local<v8::Value>); |
+ |
+} // namespace blink |
+ |
+ |
+#endif // !defined(V8StringUtil_h) |