#include "chrome/browser/password_manager/password_reuse_manager_factory.h"
#include <memory>
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/browser_process.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/signin/identity_manager_factory.h"
#include "components/password_manager/core/browser/features/password_features.h"
#include "components/password_manager/core/browser/password_reuse_detector_impl.h"
#include "components/password_manager/core/browser/password_reuse_manager_impl.h"
#include "components/password_manager/core/browser/password_reuse_manager_signin_notifier_impl.h"
#include "components/password_manager/core/browser/password_store/password_store_interface.h"
#include "components/password_manager/core/browser/shared_preferences_delegate.h"
#include "components/password_manager/core/common/password_manager_features.h"
#include "components/signin/public/identity_manager/identity_manager.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
#if BUILDFLAG(IS_ANDROID)
#include "chrome/browser/password_manager/android/shared_preferences_delegate_android.h"
#endif
namespace {
SignInState;
SignInState GetSignInStateForMetrics(Profile* profile) { … }
}
PasswordReuseManagerFactory::PasswordReuseManagerFactory()
: … { … }
PasswordReuseManagerFactory::~PasswordReuseManagerFactory() = default;
PasswordReuseManagerFactory* PasswordReuseManagerFactory::GetInstance() { … }
password_manager::PasswordReuseManager*
PasswordReuseManagerFactory::GetForProfile(Profile* profile) { … }
std::unique_ptr<KeyedService>
PasswordReuseManagerFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }