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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8ContentSearchUtil.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/v8_inspector/public/V8ContentSearchUtil.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8ContentSearchUtil.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8ContentSearchUtil.h
index e600183b966e860c07dd9468f7ce099a3a0c7741..8c099ffe93342445f9556e750ce4fa2bd3831b7c 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8ContentSearchUtil.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8ContentSearchUtil.h
@@ -6,8 +6,8 @@
#define V8ContentSearchUtil_h
#include "platform/PlatformExport.h"
+#include "platform/inspector_protocol/String16.h"
#include "platform/inspector_protocol/TypeBuilder.h"
-#include "wtf/text/WTFString.h"
namespace blink {
@@ -15,9 +15,9 @@ class V8Debugger;
namespace V8ContentSearchUtil {
-PLATFORM_EXPORT String findSourceURL(const String& content, bool multiline, bool* deprecated = nullptr);
-PLATFORM_EXPORT String findSourceMapURL(const String& content, bool multiline, bool* deprecated = nullptr);
-PLATFORM_EXPORT PassOwnPtr<protocol::Array<protocol::Debugger::SearchMatch>> searchInTextByLines(V8Debugger*, const String& text, const String& query, const bool caseSensitive, const bool isRegex);
+PLATFORM_EXPORT String16 findSourceURL(const String16& content, bool multiline, bool* deprecated = nullptr);
+PLATFORM_EXPORT String16 findSourceMapURL(const String16& content, bool multiline, bool* deprecated = nullptr);
+PLATFORM_EXPORT PassOwnPtr<protocol::Array<protocol::Debugger::SearchMatch>> searchInTextByLines(V8Debugger*, const String16& text, const String16& query, const bool caseSensitive, const bool isRegex);
}

Powered by Google App Engine
This is Rietveld 408576698