OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project 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 V8_INSPECTOR_SEARCHUTIL_H_ | 5 #ifndef V8_INSPECTOR_SEARCHUTIL_H_ |
6 #define V8_INSPECTOR_SEARCHUTIL_H_ | 6 #define V8_INSPECTOR_SEARCHUTIL_H_ |
7 | 7 |
8 #include "src/inspector/StringUtil.h" | |
9 #include "src/inspector/protocol/Debugger.h" | 8 #include "src/inspector/protocol/Debugger.h" |
| 9 #include "src/inspector/string-util.h" |
10 | 10 |
11 namespace v8_inspector { | 11 namespace v8_inspector { |
12 | 12 |
13 class V8InspectorSession; | 13 class V8InspectorSession; |
14 | 14 |
15 String16 findSourceURL(const String16& content, bool multiline); | 15 String16 findSourceURL(const String16& content, bool multiline); |
16 String16 findSourceMapURL(const String16& content, bool multiline); | 16 String16 findSourceMapURL(const String16& content, bool multiline); |
17 std::vector<std::unique_ptr<protocol::Debugger::SearchMatch>> | 17 std::vector<std::unique_ptr<protocol::Debugger::SearchMatch>> |
18 searchInTextByLinesImpl(V8InspectorSession*, const String16& text, | 18 searchInTextByLinesImpl(V8InspectorSession*, const String16& text, |
19 const String16& query, bool caseSensitive, | 19 const String16& query, bool caseSensitive, |
20 bool isRegex); | 20 bool isRegex); |
21 | 21 |
22 } // namespace v8_inspector | 22 } // namespace v8_inspector |
23 | 23 |
24 #endif // V8_INSPECTOR_SEARCHUTIL_H_ | 24 #endif // V8_INSPECTOR_SEARCHUTIL_H_ |
OLD | NEW |