chromium/components/sync/test/fake_sync_manager.cc

// Copyright 2012 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/sync/test/fake_sync_manager.h"

#include <cstddef>
#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "components/sync/engine/cycle/sync_cycle_snapshot.h"
#include "components/sync/engine/engine_components_factory.h"
#include "components/sync/engine/net/http_post_provider_factory.h"
#include "components/sync/test/fake_data_type_connector.h"

class GURL;

namespace syncer {

FakeSyncManager::FakeSyncManager(DataTypeSet initial_sync_ended_types,
                                 DataTypeSet progress_marker_types,
                                 DataTypeSet configure_fail_types)
    :{}

FakeSyncManager::~FakeSyncManager() = default;

DataTypeSet FakeSyncManager::GetAndResetDownloadedTypes() {}

ConfigureReason FakeSyncManager::GetAndResetConfigureReason() {}

int FakeSyncManager::GetInvalidationCount(DataType type) const {}

void FakeSyncManager::WaitForSyncThread() {}

void FakeSyncManager::NotifySyncStatusChanged(const SyncStatus& status) {}

void FakeSyncManager::NotifySyncCycleCompleted(
    const SyncCycleSnapshot& snapshot) {}

void FakeSyncManager::DoNotifySyncStatusChanged(const SyncStatus& status) {}

void FakeSyncManager::DoNotifySyncCycleCompleted(
    const SyncCycleSnapshot& snapshot) {}

void FakeSyncManager::Init(InitArgs* args) {}

DataTypeSet FakeSyncManager::InitialSyncEndedTypes() {}

DataTypeSet FakeSyncManager::GetConnectedTypes() {}

void FakeSyncManager::UpdateCredentials(const SyncCredentials& credentials) {}

void FakeSyncManager::InvalidateCredentials() {}

void FakeSyncManager::StartSyncingNormally(base::Time last_poll_time) {}

void FakeSyncManager::StartConfiguration() {}

void FakeSyncManager::ConfigureSyncer(ConfigureReason reason,
                                      DataTypeSet to_download,
                                      SyncFeatureState sync_feature_state,
                                      base::OnceClosure ready_task) {}

void FakeSyncManager::AddObserver(Observer* observer) {}

void FakeSyncManager::RemoveObserver(Observer* observer) {}

void FakeSyncManager::ShutdownOnSyncThread() {}

DataTypeConnector* FakeSyncManager::GetDataTypeConnector() {}

std::unique_ptr<DataTypeConnector>
FakeSyncManager::GetDataTypeConnectorProxy() {}

std::string FakeSyncManager::cache_guid() {}

std::string FakeSyncManager::birthday() {}

std::string FakeSyncManager::bag_of_chips() {}

bool FakeSyncManager::HasUnsyncedItemsForTest() {}

SyncEncryptionHandler* FakeSyncManager::GetEncryptionHandler() {}

std::vector<std::unique_ptr<ProtocolEvent>>
FakeSyncManager::GetBufferedProtocolEvents() {}

void FakeSyncManager::RefreshTypes(DataTypeSet types) {}

void FakeSyncManager::OnIncomingInvalidation(
    DataType type,
    std::unique_ptr<SyncInvalidation> invalidation) {}

DataTypeSet FakeSyncManager::GetLastRefreshRequestTypes() {}

void FakeSyncManager::SetInvalidatorEnabled(bool invalidator_enabled) {}

void FakeSyncManager::OnCookieJarChanged(bool account_mismatch) {}

void FakeSyncManager::UpdateActiveDevicesInvalidationInfo(
    ActiveDevicesInvalidationInfo active_devices_invalidation_info) {}

DataTypeSet FakeSyncManager::GetTypesWithUnsyncedData() {}

}  // namespace syncer