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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h

Issue 2755383004: Encapsulate optional SerializedScriptValue serialize/deserialize parameters. (Closed)
Patch Set: fuzzer Created 3 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/bindings/core/v8/SerializedScriptValueFactory.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h
index b59779981c3fb3425b99c8eb7f258ab0a93310b9..2d23b5fb53f91664d82227837452304bfe4a98f9 100644
--- a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h
+++ b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h
@@ -34,16 +34,16 @@ class CORE_EXPORT SerializedScriptValueFactory {
// be thrown using v8::ThrowException(), and sets |didThrow|. In this case
// the caller must not invoke any V8 operations until control returns to
// V8. When serialization is successful, |didThrow| is false.
- virtual PassRefPtr<SerializedScriptValue> create(v8::Isolate*,
- v8::Local<v8::Value>,
- Transferables*,
- WebBlobInfoArray*,
- ExceptionState&);
+ virtual PassRefPtr<SerializedScriptValue> create(
+ v8::Isolate*,
+ v8::Local<v8::Value>,
+ const SerializedScriptValue::SerializeOptions&,
+ ExceptionState&);
- virtual v8::Local<v8::Value> deserialize(SerializedScriptValue*,
- v8::Isolate*,
- MessagePortArray*,
- const WebBlobInfoArray*);
+ virtual v8::Local<v8::Value> deserialize(
+ SerializedScriptValue*,
+ v8::Isolate*,
+ const SerializedScriptValue::DeserializeOptions&);
// Following methods are expected to be called in
// SerializedScriptValueFactory{ForModules}.

Powered by Google App Engine
This is Rietveld 408576698