chromium/components/safe_browsing/core/browser/sync/sync_utils.cc

// Copyright 2021 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/safe_browsing/core/browser/sync/sync_utils.h"

#include "components/signin/public/base/consent_level.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/signin/public/identity_manager/identity_manager.h"
#include "components/sync/base/user_selectable_type.h"
#include "components/sync/service/sync_service.h"
#include "components/sync/service/sync_service_utils.h"
#include "components/sync/service/sync_user_settings.h"

namespace safe_browsing {

// static
bool SyncUtils::IsPrimaryAccountSignedIn(
    signin::IdentityManager* identity_manager) {}

// static
bool SyncUtils::AreSigninAndSyncSetUpForSafeBrowsingTokenFetches(
    syncer::SyncService* sync_service,
    signin::IdentityManager* identity_manager,
    bool user_has_enabled_enhanced_protection) {}

// TODO(bdea): Migrate other SB classes that define this method to call the one
// here instead.
bool SyncUtils::IsHistorySyncEnabled(syncer::SyncService* sync_service) {}

}  // namespace safe_browsing