#ifndef COMPONENTS_SHARING_MESSAGE_SHARING_UTILS_H_
#define COMPONENTS_SHARING_MESSAGE_SHARING_UTILS_H_
#include <optional>
namespace components_sharing_message {
class FCMChannelConfiguration;
}
namespace syncer {
class DeviceInfo;
class SyncService;
}
enum class SharingDevicePlatform;
bool CanSendViaVapid(syncer::SyncService* sync_service);
bool CanSendViaSenderID(syncer::SyncService* sync_service);
bool IsSyncEnabledForSharing(syncer::SyncService* sync_service);
bool IsSyncDisabledForSharing(syncer::SyncService* sync_service);
std::optional<components_sharing_message::FCMChannelConfiguration>
GetFCMChannel(const syncer::DeviceInfo& device_info);
SharingDevicePlatform GetDevicePlatform(const syncer::DeviceInfo& device_info);
#endif