Index: Source/WebCore/bindings/v8/SerializedScriptValue.h |
diff --git a/Source/WebCore/bindings/v8/SerializedScriptValue.h b/Source/WebCore/bindings/v8/SerializedScriptValue.h |
index a559cf91af0de2ff14cef2f6eaf0308305b80c49..b9b66b081014e0ac1e77ff75018f5ef40f5c023f 100644 |
--- a/Source/WebCore/bindings/v8/SerializedScriptValue.h |
+++ b/Source/WebCore/bindings/v8/SerializedScriptValue.h |
@@ -38,6 +38,8 @@ |
namespace WebCore { |
class MessagePort; |
+class ScriptValueDeserializer; |
+class ScriptValueSerializer; |
typedef Vector<RefPtr<MessagePort>, 1> MessagePortArray; |
@@ -70,6 +72,9 @@ public: |
// case of failure. |
v8::Handle<v8::Value> deserialize(MessagePortArray* = 0); |
+ static PassRefPtr<SerializedScriptValue> create(ScriptValueSerializer*); |
+ bool deserialize(ScriptValueDeserializer*); |
+ |
private: |
enum StringDataMode { |
StringValue, |