chromium/base/token.cc

// Copyright 2018 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/token.h"

#include <inttypes.h>

#include <array>
#include <optional>
#include <string_view>

#include "base/check.h"
#include "base/hash/hash.h"
#include "base/pickle.h"
#include "base/rand_util.h"
#include "base/strings/stringprintf.h"

namespace base {

// static
Token Token::CreateRandom() {}

std::string Token::ToString() const {}

// static
std::optional<Token> Token::FromString(std::string_view string_representation) {}

void WriteTokenToPickle(Pickle* pickle, const Token& token) {}

std::optional<Token> ReadTokenFromPickle(PickleIterator* pickle_iterator) {}

size_t TokenHash::operator()(const Token& token) const {}

}  // namespace base