blob: 333ed424c9957514b1d8c099374e5170b623e07b [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync/driver/mock_sync_service.h"
namespace syncer {
MockSyncService::MockSyncService() = default;
MockSyncService::~MockSyncService() = default;
syncer::SyncUserSettingsMock* MockSyncService::GetMockUserSettings() {
return &user_settings_;
}
syncer::SyncUserSettings* MockSyncService::GetUserSettings() {
return &user_settings_;
}
const syncer::SyncUserSettings* MockSyncService::GetUserSettings() const {
return &user_settings_;
}
} // namespace syncer