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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.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/inspector_protocol/ErrorSupport.h
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.h b/third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.h
index 14ad8a228bfdc860c77c75d122f823b456e3c8a5..98a3340f2c6fde2b2755a8ad57c56b3db7e8dafa 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.h
+++ b/third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.h
@@ -7,7 +7,7 @@
#include "platform/PlatformExport.h"
#include "platform/inspector_protocol/Collections.h"
-#include "wtf/text/WTFString.h"
+#include "platform/inspector_protocol/String16.h"
namespace blink {
namespace protocol {
@@ -15,20 +15,20 @@ namespace protocol {
class PLATFORM_EXPORT ErrorSupport {
public:
ErrorSupport();
- ErrorSupport(String* errorString);
+ ErrorSupport(String16* errorString);
~ErrorSupport();
void push();
- void setName(const String&);
+ void setName(const String16&);
void pop();
- void addError(const String&);
+ void addError(const String16&);
bool hasErrors();
- String errors();
+ String16 errors();
private:
- protocol::Vector<String> m_path;
- protocol::Vector<String> m_errors;
- String* m_errorString;
+ protocol::Vector<String16> m_path;
+ protocol::Vector<String16> m_errors;
+ String16* m_errorString;
};
} // namespace platform

Powered by Google App Engine
This is Rietveld 408576698