chromium/components/download/internal/common/rate_estimator.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 "components/download/public/common/rate_estimator.h"

#include "base/check.h"
#include "base/time/time.h"

TimeTicks;

namespace download {

namespace {

static const int kDefaultBucketTimeSeconds =;
static const size_t kDefaultNumBuckets =;

}  // namespace

RateEstimator::RateEstimator()
    :{}

RateEstimator::RateEstimator(base::TimeDelta bucket_time,
                             size_t num_buckets,
                             TimeTicks now)
    :{}

RateEstimator::~RateEstimator() {}

void RateEstimator::Increment(uint32_t count) {}

void RateEstimator::Increment(uint32_t count, TimeTicks now) {}

uint64_t RateEstimator::GetCountPerSecond() const {}

uint64_t RateEstimator::GetCountPerSecond(TimeTicks now) const {}

void RateEstimator::ClearOldBuckets(TimeTicks now) {}

void RateEstimator::ResetBuckets(TimeTicks now) {}

}  // namespace download