#include "chrome/browser/webid/federated_identity_api_permission_context.h"
#include "chrome/browser/browser_features.h"
#include "chrome/browser/content_settings/cookie_settings_factory.h"
#include "chrome/browser/content_settings/host_content_settings_map_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/permissions/permission_decision_auto_blocker.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/common/content_features.h"
#include "net/cookies/site_for_cookies.h"
#include "url/origin.h"
PermissionStatus;
FederatedIdentityApiPermissionContext::FederatedIdentityApiPermissionContext(
content::BrowserContext* browser_context)
: … { … }
FederatedIdentityApiPermissionContext::
~FederatedIdentityApiPermissionContext() = default;
content::FederatedIdentityApiPermissionContextDelegate::PermissionStatus
FederatedIdentityApiPermissionContext::GetApiPermissionStatus(
const url::Origin& relying_party_embedder) { … }
void FederatedIdentityApiPermissionContext::RecordDismissAndEmbargo(
const url::Origin& relying_party_embedder) { … }
void FederatedIdentityApiPermissionContext::RemoveEmbargoAndResetCounts(
const url::Origin& relying_party_embedder) { … }
bool FederatedIdentityApiPermissionContext::HasThirdPartyCookiesAccess(
content::RenderFrameHost& host,
const GURL& provider_url,
const url::Origin& relying_party_embedder) const { … }