#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/public/common/privacy_budget/identifiable_token_builder.h"
#include <algorithm>
#include <iterator>
#include <type_traits>
#include "base/check.h"
#include "base/check_op.h"
#include "base/hash/legacy_hash.h"
namespace blink {
IdentifiableTokenBuilder::IdentifiableTokenBuilder()
: … { … }
IdentifiableTokenBuilder::IdentifiableTokenBuilder(
const IdentifiableTokenBuilder& other) { … }
IdentifiableTokenBuilder::IdentifiableTokenBuilder(ByteSpan buffer)
: … { … }
IdentifiableTokenBuilder& IdentifiableTokenBuilder::AddBytes(ByteSpan message) { … }
IdentifiableTokenBuilder& IdentifiableTokenBuilder::AddAtomic(ByteSpan buffer) { … }
operator IdentifiableToken()
IdentifiableToken IdentifiableTokenBuilder::GetToken() const { … }
IdentifiableTokenBuilder::ByteSpan IdentifiableTokenBuilder::SkimIntoPartial(
ByteSpan message) { … }
void IdentifiableTokenBuilder::AlignPartialBuffer() { … }
void IdentifiableTokenBuilder::DigestBlock(ConstFullBlockSpan block) { … }
size_t IdentifiableTokenBuilder::PartialSize() const { … }
IdentifiableTokenBuilder::ConstFullBlockSpan
IdentifiableTokenBuilder::TakeCompletedBlock() { … }
bool IdentifiableTokenBuilder::IsAligned() const { … }
IdentifiableTokenBuilder::ByteSpan IdentifiableTokenBuilder::GetPartialBlock()
const { … }
}