#include "chrome/browser/webid/federated_identity_identity_provider_registration_context.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/content_settings/core/common/content_settings_types.h"
namespace {
const char kIdPRegistrationKey[] = …;
const char kIdPRegistrationUrlKey[] = …;
}
FederatedIdentityIdentityProviderRegistrationContext::
FederatedIdentityIdentityProviderRegistrationContext(
content::BrowserContext* browser_context)
: … { … }
std::vector<GURL>
FederatedIdentityIdentityProviderRegistrationContext::GetRegisteredIdPs() { … }
void FederatedIdentityIdentityProviderRegistrationContext::RegisterIdP(
const GURL& url) { … }
void FederatedIdentityIdentityProviderRegistrationContext::UnregisterIdP(
const GURL& url) { … }
std::string
FederatedIdentityIdentityProviderRegistrationContext::GetKeyForObject(
const base::Value::Dict& object) { … }
bool FederatedIdentityIdentityProviderRegistrationContext::IsValidObject(
const base::Value::Dict& object) { … }
std::u16string
FederatedIdentityIdentityProviderRegistrationContext::GetObjectDisplayName(
const base::Value::Dict& object) { … }