chromium/third_party/blink/renderer/core/timing/time_clamper.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 "third_party/blink/renderer/core/timing/time_clamper.h"

#include "base/bit_cast.h"
#include "base/rand_util.h"

#include <cmath>

namespace blink {

namespace {
const int64_t kTenLowerDigitsMod =;
}  // namespace

TimeClamper::TimeClamper() :{}

// This is using int64 for timestamps, because https://bit.ly/doubles-are-bad
base::TimeDelta TimeClamper::ClampTimeResolution(
    base::TimeDelta time,
    bool cross_origin_isolated_capability) const {}

inline double TimeClamper::ThresholdFor(int64_t clamped_time,
                                        int resolution) const {}

// static
inline double TimeClamper::ToDouble(uint64_t value) {}

// static
inline uint64_t TimeClamper::MurmurHash3(uint64_t value) {}

}  // namespace blink