Index: third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h |
diff --git a/third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h b/third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h |
index b133793e484c030686d9dfcd6952ffca0a7397bc..f7eb5b4c68e5341bd98dd1e996a39087dbd2b42b 100644 |
--- a/third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h |
+++ b/third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h |
@@ -6,6 +6,7 @@ |
#define SerializedScriptValueForModulesFactory_h |
#include "bindings/core/v8/SerializedScriptValueFactory.h" |
+#include "bindings/modules/v8/TransferablesForModules.h" |
#include "wtf/Noncopyable.h" |
namespace blink { |
@@ -18,11 +19,15 @@ public: |
PassRefPtr<SerializedScriptValue> create(v8::Isolate*, v8::Local<v8::Value>, Transferables*, WebBlobInfoArray*, ExceptionState&) override; |
PassRefPtr<SerializedScriptValue> create(v8::Isolate*, const String&) override; |
+ bool extractTransferables(v8::Isolate*, Transferables&, ExceptionState&, v8::Local<v8::Value>&, unsigned) override; |
+ Transferables* createTransferables() override { return new TransferablesForModules; } |
protected: |
ScriptValueSerializer::Status doSerialize(v8::Local<v8::Value>, SerializedScriptValueWriter&, Transferables*, WebBlobInfoArray*, BlobDataHandleMap&, v8::TryCatch&, String& errorMessage, v8::Isolate*) override; |
v8::Local<v8::Value> deserialize(String& data, BlobDataHandleMap& blobDataHandles, ArrayBufferContentsArray*, ImageBitmapContentsArray*, v8::Isolate*, MessagePortArray* messagePorts, const WebBlobInfoArray*) override; |
+ |
+ void transferData(v8::Isolate*, Transferables*, ExceptionState&, SerializedScriptValue*, SerializedScriptValueWriter&) override; |
}; |
} // namespace blink |