// Copyright 2020 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_SNAPSHOT_SERIALIZER_DESERIALIZER_H_ #define V8_SNAPSHOT_SERIALIZER_DESERIALIZER_H_ #include "src/objects/visitors.h" #include "src/snapshot/references.h" namespace v8 { namespace internal { class Isolate; // The Serializer/Deserializer class is a common superclass for Serializer and // Deserializer which is used to store common constants and methods used by // both. class SerializerDeserializer : public RootVisitor { … }; struct SerializeEmbedderFieldsCallback { … }; struct DeserializeEmbedderFieldsCallback { … }; } // namespace internal } // namespace v8 #endif // V8_SNAPSHOT_SERIALIZER_DESERIALIZER_H_