chromium/components/history/core/browser/sync/history_data_type_controller.cc

// Copyright 2017 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/history/core/browser/sync/history_data_type_controller.h"

#include <memory>

#include "base/check_is_test.h"
#include "components/history/core/browser/history_service.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/signin/public/identity_manager/account_managed_status_finder.h"
#include "components/sync/base/features.h"
#include "components/sync/service/sync_service.h"
#include "components/sync/service/sync_user_settings.h"

namespace history {

namespace {

std::unique_ptr<syncer::DataTypeControllerDelegate>
GetDelegateFromHistoryService(HistoryService* history_service,
                              bool for_transport_mode) {}

syncer::DataTypeController::PreconditionState
GetPreconditionStateFromManagedStatus(
    const signin::AccountManagedStatusFinder* finder) {}

// Higher number means more strict.
int GetPreconditionStateStrictness(
    syncer::DataTypeController::PreconditionState state) {}

syncer::DataTypeController::PreconditionState GetStricterPreconditionState(
    syncer::DataTypeController::PreconditionState state1,
    syncer::DataTypeController::PreconditionState state2) {}

}  // namespace

HistoryDataTypeController::HistoryDataTypeController(
    syncer::SyncService* sync_service,
    signin::IdentityManager* identity_manager,
    HistoryService* history_service,
    PrefService* pref_service)
    :{}

HistoryDataTypeController::~HistoryDataTypeController() = default;

syncer::DataTypeController::PreconditionState
HistoryDataTypeController::GetPreconditionState() const {}

void HistoryDataTypeController::OnStateChanged(syncer::SyncService* sync) {}

void HistoryDataTypeController::AccountTypeDetermined() {}

}  // namespace history