chromium/components/page_image_service/image_service_consent_helper.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 "components/page_image_service/image_service_consent_helper.h"

#include "base/metrics/histogram_functions.h"
#include "components/page_image_service/metrics_util.h"
#include "components/sync/service/sync_service.h"
#include "components/sync/service/sync_service_utils.h"

namespace page_image_service {

namespace {

PageImageServiceConsentStatus ConsentStatusToUmaStatus(
    std::optional<bool> consent_status) {}

}  // namespace

ImageServiceConsentHelper::ImageServiceConsentHelper(
    syncer::SyncService* sync_service,
    syncer::DataType data_type)
    :{}

ImageServiceConsentHelper::~ImageServiceConsentHelper() = default;

void ImageServiceConsentHelper::EnqueueRequest(
    base::OnceCallback<void(PageImageServiceConsentStatus)> callback,
    mojom::ClientId client_id) {}

void ImageServiceConsentHelper::OnStateChanged(
    syncer::SyncService* sync_service) {}

void ImageServiceConsentHelper::OnSyncShutdown(
    syncer::SyncService* sync_service) {}

std::optional<bool> ImageServiceConsentHelper::GetConsentStatus() {}

void ImageServiceConsentHelper::OnTimeoutExpired() {}

}  // namespace page_image_service