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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8StringUtil.h

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 2 Created 4 years, 9 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 unified diff | Download patch
OLDNEW
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698