chromium/third_party/blink/common/privacy_budget/identifiable_token_builder.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#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 {}

}  // namespace blink