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

Unified Diff: Source/WebCore/bindings/v8/SerializedScriptValue.h

Issue 8806015: Changes to support a second VM. (Closed) Base URL: svn://svn.chromium.org/dash/experimental/chrome/src/webkit-full
Patch Set: . Created 9 years 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: 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,

Powered by Google App Engine
This is Rietveld 408576698