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

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

Issue 2159633002: [DevTools] Generate public versions of protocol classes to be exposed in v8_inspector/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra files Created 4 years, 4 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 "platform/inspector_protocol/String16.h" 8 #include "platform/inspector_protocol/String16.h"
9 #include "platform/inspector_protocol/Values.h" 9 #include "platform/inspector_protocol/Values.h"
10 #include "platform/v8_inspector/protocol/Debugger.h"
10 #include <v8.h> 11 #include <v8.h>
11 12
12 namespace blink { 13 namespace blink {
13 14
15 class V8InspectorSession;
16
14 std::unique_ptr<protocol::Value> toProtocolValue(v8::Local<v8::Context>, v8::Loc al<v8::Value>, int maxDepth = protocol::Value::maxDepth); 17 std::unique_ptr<protocol::Value> toProtocolValue(v8::Local<v8::Context>, v8::Loc al<v8::Value>, int maxDepth = protocol::Value::maxDepth);
15 18
16 v8::Local<v8::String> toV8String(v8::Isolate*, const String16&); 19 v8::Local<v8::String> toV8String(v8::Isolate*, const String16&);
17 v8::Local<v8::String> toV8StringInternalized(v8::Isolate*, const String16&); 20 v8::Local<v8::String> toV8StringInternalized(v8::Isolate*, const String16&);
18 21
19 String16 toProtocolString(v8::Local<v8::String>); 22 String16 toProtocolString(v8::Local<v8::String>);
20 String16 toProtocolStringWithTypeCheck(v8::Local<v8::Value>); 23 String16 toProtocolStringWithTypeCheck(v8::Local<v8::Value>);
21 24
25 std::vector<std::unique_ptr<protocol::Debugger::SearchMatch>> searchInTextByLine sImpl(V8InspectorSession*, const String16& text, const String16& query, const bo ol caseSensitive, const bool isRegex);
26
22 } // namespace blink 27 } // namespace blink
23 28
24 29
25 #endif // !defined(V8StringUtil_h) 30 #endif // !defined(V8StringUtil_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698