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

Unified Diff: src/inspector/SearchUtil.h

Issue 2292573002: [inspector] Initial import of v8_inspector. (Closed)
Patch Set: format the code, disable cpplint Created 4 years, 3 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
« no previous file with comments | « src/inspector/ScriptBreakpoint.h ('k') | src/inspector/SearchUtil.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/SearchUtil.h
diff --git a/src/inspector/SearchUtil.h b/src/inspector/SearchUtil.h
new file mode 100644
index 0000000000000000000000000000000000000000..3c5d53b1d0c8d75e99e766199c6ac72eb9dcf5ec
--- /dev/null
+++ b/src/inspector/SearchUtil.h
@@ -0,0 +1,24 @@
+// Copyright 2016 the V8 project 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 V8_INSPECTOR_SEARCHUTIL_H_
+#define V8_INSPECTOR_SEARCHUTIL_H_
+
+#include "src/inspector/StringUtil.h"
+#include "src/inspector/protocol/Debugger.h"
+
+namespace v8_inspector {
+
+class V8InspectorSession;
+
+String16 findSourceURL(const String16& content, bool multiline);
+String16 findSourceMapURL(const String16& content, bool multiline);
+std::vector<std::unique_ptr<protocol::Debugger::SearchMatch>>
+searchInTextByLinesImpl(V8InspectorSession*, const String16& text,
+ const String16& query, bool caseSensitive,
+ bool isRegex);
+
+} // namespace v8_inspector
+
+#endif // V8_INSPECTOR_SEARCHUTIL_H_
« no previous file with comments | « src/inspector/ScriptBreakpoint.h ('k') | src/inspector/SearchUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698