chromium/components/unified_consent/consent_throttle.cc

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

#include <algorithm>

#include "components/unified_consent/consent_throttle.h"
#include "base/functional/bind.h"
#include "base/time/time.h"
#include "components/unified_consent/url_keyed_data_collection_consent_helper.h"

namespace unified_consent {

namespace {

void FulfillRequestCallback(
    UrlKeyedDataCollectionConsentHelper::State consent_state,
    ConsentThrottle::RequestCallback callback) {}

}  // namespace

ConsentThrottle::ConsentThrottle(
    std::unique_ptr<unified_consent::UrlKeyedDataCollectionConsentHelper>
        consent_helper,
    base::TimeDelta timeout)
    :{}

ConsentThrottle::~ConsentThrottle() = default;

void ConsentThrottle::OnUrlKeyedDataCollectionConsentStateChanged(
    UrlKeyedDataCollectionConsentHelper* consent_helper) {}

void ConsentThrottle::EnqueueRequest(RequestCallback callback) {}

void ConsentThrottle::OnTimeoutExpired() {}

}  // namespace unified_consent