chromium/components/sync/engine/cycle/commit_quota.cc

// Copyright 2022 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/sync/engine/cycle/commit_quota.h"

#include <algorithm>

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

namespace syncer {

CommitQuota::CommitQuota(int max_tokens, base::TimeDelta refill_interval)
    :{}

CommitQuota::~CommitQuota() = default;

void CommitQuota::SetParams(int new_max_tokens,
                            base::TimeDelta refill_interval) {}

bool CommitQuota::HasTokensAvailable() {}

void CommitQuota::ConsumeToken() {}

void CommitQuota::RefillTokens() {}

}  // namespace syncer