#include "chrome/browser/password_manager/password_receiver_service_factory.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "chrome/browser/password_manager/account_password_store_factory.h"
#include "chrome/browser/password_manager/profile_password_store_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/data_type_store_service_factory.h"
#include "chrome/common/channel_info.h"
#include "components/password_manager/core/browser/sharing/incoming_password_sharing_invitation_sync_bridge.h"
#include "components/password_manager/core/browser/sharing/password_receiver_service_impl.h"
#include "components/sync/base/data_type.h"
#include "components/sync/base/report_unrecoverable_error.h"
#include "components/sync/model/client_tag_based_data_type_processor.h"
#include "components/sync/model/data_type_store_service.h"
PasswordReceiverServiceFactory* PasswordReceiverServiceFactory::GetInstance() { … }
password_manager::PasswordReceiverService*
PasswordReceiverServiceFactory::GetForProfile(Profile* profile) { … }
PasswordReceiverServiceFactory::PasswordReceiverServiceFactory()
: … { … }
PasswordReceiverServiceFactory::~PasswordReceiverServiceFactory() = default;
std::unique_ptr<KeyedService>
PasswordReceiverServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }