#include "components/send_tab_to_self/entry_point_display_reason.h"
#include "build/chromeos_buildflags.h"
#include "components/prefs/pref_service.h"
#include "components/send_tab_to_self/send_tab_to_self_model.h"
#include "components/send_tab_to_self/send_tab_to_self_sync_service.h"
#include "components/signin/public/base/signin_pref_names.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/sync/service/sync_service.h"
#include "components/sync/service/sync_user_settings.h"
#include "url/gurl.h"
namespace send_tab_to_self {
namespace {
bool ShouldOfferSignin(syncer::SyncService* sync_service,
PrefService* pref_service) { … }
}
namespace internal {
std::optional<EntryPointDisplayReason> GetEntryPointDisplayReason(
const GURL& url_to_share,
syncer::SyncService* sync_service,
SendTabToSelfModel* send_tab_to_self_model,
PrefService* pref_service) { … }
}
}