OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8StringUtil_h | 5 #ifndef V8StringUtil_h |
6 #define V8StringUtil_h | 6 #define V8StringUtil_h |
7 | 7 |
8 #include "wtf/text/WTFString.h" | 8 #include "platform/inspector_protocol/String16.h" |
9 #include <v8.h> | 9 #include <v8.h> |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 v8::Local<v8::String> toV8String(v8::Isolate*, const String&); | 13 v8::Local<v8::String> toV8String(v8::Isolate*, const String16&); |
14 v8::Local<v8::String> toV8StringInternalized(v8::Isolate*, const String&); | 14 v8::Local<v8::String> toV8StringInternalized(v8::Isolate*, const String16&); |
15 | 15 |
16 String toWTFString(v8::Local<v8::String>); | 16 String16 toProtocolString(v8::Local<v8::String>); |
17 String toWTFStringWithTypeCheck(v8::Local<v8::Value>); | 17 String16 toProtocolStringWithTypeCheck(v8::Local<v8::Value>); |
18 | 18 |
19 } // namespace blink | 19 } // namespace blink |
20 | 20 |
21 | 21 |
22 #endif // !defined(V8StringUtil_h) | 22 #endif // !defined(V8StringUtil_h) |
OLD | NEW |