chromium/base/unguessable_token.cc

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

#include "base/unguessable_token.h"

#include <ostream>
#include <string_view>

#include "base/check.h"
#include "base/format_macros.h"
#include "base/rand_util.h"
#include "build/build_config.h"

#if !BUILDFLAG(IS_NACL)
#include "third_party/boringssl/src/include/openssl/mem.h"
#endif

namespace base {

UnguessableToken::UnguessableToken(const base::Token& token) :{}

// static
UnguessableToken UnguessableToken::Create() {}

// static
const UnguessableToken& UnguessableToken::Null() {}

// static
std::optional<UnguessableToken> UnguessableToken::Deserialize(uint64_t high,
                                                              uint64_t low) {}

// static
std::optional<UnguessableToken> UnguessableToken::DeserializeFromString(
    std::string_view string_representation) {}

bool operator==(const UnguessableToken& lhs, const UnguessableToken& rhs) {}

std::ostream& operator<<(std::ostream& out, const UnguessableToken& token) {}

}  // namespace base