chromium/components/sync_device_info/fake_device_info_tracker.cc

// Copyright 2019 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_device_info/fake_device_info_tracker.h"

#include <map>

#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "base/not_fatal_until.h"
#include "base/notreached.h"
#include "base/ranges/algorithm.h"
#include "components/sync/protocol/sync_enums.pb.h"
#include "components/sync_device_info/device_info.h"

namespace syncer {

FakeDeviceInfoTracker::FakeDeviceInfoTracker() = default;

FakeDeviceInfoTracker::~FakeDeviceInfoTracker() = default;

bool FakeDeviceInfoTracker::IsSyncing() const {}

const DeviceInfo* FakeDeviceInfoTracker::GetDeviceInfo(
    const std::string& client_id) const {}

std::vector<const DeviceInfo*> FakeDeviceInfoTracker::GetAllDeviceInfo() const {}

std::vector<const DeviceInfo*> FakeDeviceInfoTracker::GetAllChromeDeviceInfo()
    const {}

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

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

std::map<DeviceInfo::FormFactor, int>
FakeDeviceInfoTracker::CountActiveDevicesByType() const {}

void FakeDeviceInfoTracker::ForcePulseForTest() {}

bool FakeDeviceInfoTracker::IsRecentLocalCacheGuid(
    const std::string& cache_guid) const {}

void FakeDeviceInfoTracker::Add(const DeviceInfo* device) {}

void FakeDeviceInfoTracker::Add(const std::vector<const DeviceInfo*>& devices) {}

void FakeDeviceInfoTracker::Add(std::unique_ptr<DeviceInfo> device) {}

void FakeDeviceInfoTracker::Remove(const DeviceInfo* device) {}

void FakeDeviceInfoTracker::Replace(const DeviceInfo* old_device,
                                    const DeviceInfo* new_device) {}

void FakeDeviceInfoTracker::OverrideActiveDeviceCount(
    const std::map<DeviceInfo::FormFactor, int>& counts) {}

void FakeDeviceInfoTracker::SetLocalCacheGuid(const std::string& cache_guid) {}

}  // namespace syncer