#include "chrome/browser/webid/federated_identity_auto_reauthn_permission_context.h"
#include "base/metrics/histogram_macros.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/password_manager/password_manager_settings_service_factory.h"
#include "chrome/browser/permissions/permission_decision_auto_blocker_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/password_manager/core/browser/password_manager_setting.h"
#include "components/permissions/permission_decision_auto_blocker.h"
#include "url/origin.h"
FederatedIdentityAutoReauthnPermissionContext::
FederatedIdentityAutoReauthnPermissionContext(
content::BrowserContext* browser_context)
: … { … }
FederatedIdentityAutoReauthnPermissionContext::
~FederatedIdentityAutoReauthnPermissionContext() = default;
bool FederatedIdentityAutoReauthnPermissionContext::
IsAutoReauthnSettingEnabled() { … }
bool FederatedIdentityAutoReauthnPermissionContext::IsAutoReauthnEmbargoed(
const url::Origin& relying_party_embedder) { … }
base::Time
FederatedIdentityAutoReauthnPermissionContext::GetAutoReauthnEmbargoStartTime(
const url::Origin& relying_party_embedder) { … }
void FederatedIdentityAutoReauthnPermissionContext::RecordEmbargoForAutoReauthn(
const url::Origin& relying_party_embedder) { … }
void FederatedIdentityAutoReauthnPermissionContext::RemoveEmbargoForAutoReauthn(
const url::Origin& relying_party_embedder) { … }
void FederatedIdentityAutoReauthnPermissionContext::SetRequiresUserMediation(
const url::Origin& rp_origin,
bool requires_user_mediation) { … }
bool FederatedIdentityAutoReauthnPermissionContext::RequiresUserMediation(
const url::Origin& rp_origin) { … }