#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 {
bool SyncUtils::IsPrimaryAccountSignedIn(
signin::IdentityManager* identity_manager) { … }
bool SyncUtils::AreSigninAndSyncSetUpForSafeBrowsingTokenFetches(
syncer::SyncService* sync_service,
signin::IdentityManager* identity_manager,
bool user_has_enabled_enhanced_protection) { … }
bool SyncUtils::IsHistorySyncEnabled(syncer::SyncService* sync_service) { … }
}