chromium/base/allocator/partition_allocator/src/partition_alloc/random.cc

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

#include "partition_alloc/random.h"

#include <type_traits>

#include "partition_alloc/partition_alloc_base/rand_util.h"
#include "partition_alloc/partition_alloc_base/thread_annotations.h"
#include "partition_alloc/partition_lock.h"

namespace partition_alloc {

class RandomGenerator {};

// Note: this is redundant, since the anonymous union is incompatible with a
// non-trivial default destructor. Not meant to be destructed anyway.
static_assert;

namespace {

RandomGenerator g_generator =;

}  // namespace

namespace internal {

uint32_t RandomValue() {}

}  // namespace internal

void SetMmapSeedForTesting(uint64_t seed) {}

}  // namespace partition_alloc