#include "chrome/browser/send_tab_to_self/send_tab_to_self_client_service_factory.h"
#include <string>
#include "base/functional/bind.h"
#include "base/no_destructor.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/notifications/notification_display_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/send_tab_to_self/send_tab_to_self_client_service.h"
#include "chrome/browser/sync/send_tab_to_self_sync_service_factory.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"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/ash/profiles/profile_helper.h"
#include "components/user_manager/user.h"
#endif
namespace send_tab_to_self {
SendTabToSelfClientService* SendTabToSelfClientServiceFactory::GetForProfile(
Profile* profile) { … }
SendTabToSelfClientServiceFactory*
SendTabToSelfClientServiceFactory::GetInstance() { … }
SendTabToSelfClientServiceFactory::SendTabToSelfClientServiceFactory()
: … { … }
SendTabToSelfClientServiceFactory::~SendTabToSelfClientServiceFactory() =
default;
std::unique_ptr<KeyedService>
SendTabToSelfClientServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
bool SendTabToSelfClientServiceFactory::ServiceIsCreatedWithBrowserContext()
const { … }
bool SendTabToSelfClientServiceFactory::ServiceIsNULLWhileTesting() const { … }
}