#include "components/feed/core/v2/stream_model/ephemeral_change.h"
namespace feed {
namespace stream_model {
EphemeralChange::EphemeralChange(
EphemeralChangeId id,
std::vector<feedstore::DataOperation> operations)
: … { … }
EphemeralChange::~EphemeralChange() = default;
EphemeralChangeList::EphemeralChangeList() = default;
EphemeralChangeList::~EphemeralChangeList() = default;
EphemeralChange* EphemeralChangeList::AddEphemeralChange(
std::vector<feedstore::DataOperation> operations) { … }
EphemeralChange* EphemeralChangeList::Find(EphemeralChangeId id) { … }
std::unique_ptr<FeatureTree> ApplyEphemeralChanges(
const FeatureTree& tree,
const EphemeralChangeList& changes) { … }
std::unique_ptr<EphemeralChange> EphemeralChangeList::Remove(
EphemeralChangeId id) { … }
}
}