chromium/components/reporting/client/report_queue_factory.cc

// Copyright 2021 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/reporting/client/report_queue_factory.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/task/bind_post_task.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "components/reporting/client/report_queue_configuration.h"
#include "components/reporting/client/report_queue_provider.h"
#include "components/reporting/util/backoff_settings.h"
#include "components/reporting/util/rate_limiter_interface.h"
#include "net/base/backoff_entry.h"

#define LOG_WITH_STATUS(LEVEL, MESSAGE, STATUS)

namespace reporting {

// static
void ReportQueueFactory::Create(
    ReportQueueConfiguration::Builder config_builder,
    SuccessCallback done_cb) {}

//  static
std::unique_ptr<ReportQueue, base::OnTaskRunnerDeleter>
ReportQueueFactory::CreateSpeculativeReportQueue(
    ReportQueueConfiguration::Builder config_builder) {}

// static
void ReportQueueFactory::Create(
    EventType event_type,
    Destination destination,
    SuccessCallback success_cb,
    std::unique_ptr<RateLimiterInterface> rate_limiter,
    int64_t reserved_space) {}

// static
std::unique_ptr<ReportQueue, base::OnTaskRunnerDeleter>
ReportQueueFactory::CreateSpeculativeReportQueue(
    EventType event_type,
    Destination destination,
    std::unique_ptr<RateLimiterInterface> rate_limiter,
    int64_t reserved_space) {}

ReportQueueFactory::TrySetReportQueueCallback
ReportQueueFactory::CreateTrySetCallback(
    SuccessCallback success_cb,
    std::unique_ptr<::net::BackoffEntry> backoff_entry) {}

// static
void ReportQueueFactory::TrySetReportQueue(
    SuccessCallback success_cb,
    StatusOr<std::unique_ptr<ReportQueue>> report_queue_result) {}
}  // namespace reporting