#include "components/sync/model/entity_change.h"
#include <utility>
#include "base/memory/ptr_util.h"
namespace syncer {
std::unique_ptr<EntityChange> EntityChange::CreateAdd(
const std::string& storage_key,
EntityData data) { … }
std::unique_ptr<EntityChange> EntityChange::CreateUpdate(
const std::string& storage_key,
EntityData data) { … }
std::unique_ptr<EntityChange> EntityChange::CreateDelete(
const std::string& storage_key) { … }
std::unique_ptr<EntityChange>
EntityChange::CreateDeletedCollaborationMembership(
const std::string& storage_key) { … }
EntityChange::EntityChange(const std::string& storage_key,
ChangeType type,
EntityData data)
: … { … }
EntityChange::~EntityChange() = default;
}