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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/SearchUtil.h

Issue 2251343003: [DevTools] Generate separate copies of inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win compile 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/v8_inspector/SearchUtil.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/SearchUtil.h b/third_party/WebKit/Source/platform/v8_inspector/SearchUtil.h
new file mode 100644
index 0000000000000000000000000000000000000000..0feab5e328c968001b6dbff20302fb90c80ca178
--- /dev/null
+++ b/third_party/WebKit/Source/platform/v8_inspector/SearchUtil.h
@@ -0,0 +1,21 @@
+// Copyright 2016 The Chromium 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 SearchUtil_h
+#define SearchUtil_h
+
+#include "platform/v8_inspector/StringUtil.h"
+#include "platform/v8_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 // !defined(SearchUtil_h)

Powered by Google App Engine
This is Rietveld 408576698