chromium/components/plus_addresses/sync_utils/plus_address_data_type_controller.cc

// Copyright 2024 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/plus_addresses/sync_utils/plus_address_data_type_controller.h"

#include "base/check_deref.h"
#include "base/functional/bind.h"
#include "components/plus_addresses/features.h"
#include "components/signin/public/identity_manager/account_managed_status_finder.h"
#include "components/signin/public/identity_manager/identity_manager.h"
#include "components/sync/base/data_type.h"
#include "components/sync/service/data_type_controller.h"
#include "components/sync/service/sync_service.h"
#include "components/variations/service/google_groups_manager.h"

namespace plus_addresses {

namespace {

PreconditionState;

// Determines the eligibility of the data type based on the accounts managed
// status. Dasher accounts are not supported.
PreconditionState GetPreconditionStateFromAccountManagedStatus(
    const signin::AccountManagedStatusFinder& finder) {}

}  // namespace

PlusAddressDataTypeController::PlusAddressDataTypeController(
    syncer::DataType type,
    std::unique_ptr<syncer::DataTypeControllerDelegate>
        delegate_for_full_sync_mode,
    std::unique_ptr<syncer::DataTypeControllerDelegate>
        delegate_for_transport_mode,
    syncer::SyncService* sync_service,
    signin::IdentityManager* identity_manager,
    GoogleGroupsManager* google_groups_manager)
    :{}

PlusAddressDataTypeController::~PlusAddressDataTypeController() = default;

PreconditionState PlusAddressDataTypeController::GetPreconditionState() const {}

void PlusAddressDataTypeController::OnStateChanged(syncer::SyncService*) {}

void PlusAddressDataTypeController::RecreateManagedStatusFinder() {}

void PlusAddressDataTypeController::OnAccountTypeDetermined() {}

}  // namespace plus_addresses