Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/WebKit/Source/core/inspector/v8/V8StringUtil.h

Issue 1650283002: DevTools: remove DOM and Bindings dependencies from inspector/v8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698