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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/Maybe.h

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/Maybe.h
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h b/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h
index e65b599f00704162a713b70234c9369e14f39010..1db0b2173f77b5be9af33dc0373e470f472d7cf7 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h
@@ -6,7 +6,7 @@
#define Maybe_h
#include "platform/PlatformExport.h"
-#include "wtf/text/WTFString.h"
+#include "platform/inspector_protocol/String16.h"
dgozman 2016/03/08 01:35:12 class String16;
namespace blink {
namespace protocol {
@@ -70,7 +70,14 @@ class Maybe<String> : public MaybeBase<String> {
public:
Maybe() { }
Maybe(const String& value) : MaybeBase(value) { }
- Maybe(const AtomicString& value) : MaybeBase(value) { }
+ using MaybeBase::operator=;
+};
+
+template<>
+class Maybe<String16> : public MaybeBase<String16> {
+public:
+ Maybe() { }
+ Maybe(const String16& value) : MaybeBase(value) { }
using MaybeBase::operator=;
};

Powered by Google App Engine
This is Rietveld 408576698