Index: third_party/inspector_protocol/lib/Values_h.template |
diff --git a/third_party/inspector_protocol/lib/Values_h.template b/third_party/inspector_protocol/lib/Values_h.template |
index 8e0d555d213998bd9642d96158b925b0062320a0..133f1d087e92190757dd61ef7d7403320877b2f4 100644 |
--- a/third_party/inspector_protocol/lib/Values_h.template |
+++ b/third_party/inspector_protocol/lib/Values_h.template |
@@ -17,7 +17,7 @@ class ListValue; |
class DictionaryValue; |
class Value; |
-class {{config.lib.export_macro}} Value { |
+class {{config.lib.export_macro}} Value : public Serializable { |
PROTOCOL_DISALLOW_COPY(Value); |
public: |
virtual ~Value() { } |
dgozman
2016/11/22 22:36:00
override
kozy
2016/11/22 23:01:24
Done.
|
@@ -51,6 +51,7 @@ public: |
String toJSONString() const; |
dgozman
2016/11/22 22:36:00
Remove this one now.
kozy
2016/11/22 23:01:24
Done.
|
virtual void writeJSON(StringBuilder* output) const; |
virtual std::unique_ptr<Value> clone() const; |
+ String serialize() override { return toJSONString(); } |
protected: |
Value() : m_type(TypeNull) { } |